Process Launched from Java with Runtime.getRuntime().exec has less permissions and I don\'t see description for that in JavaDocs and how to manage that.
Runtime.getRuntime().exec
Solved for Maven and Gradle by passing a set of environment variables.
See http://www.nodeclipse.org/projects/maven and http://www.nodeclipse.org/projects/gradle/