Hello,
I tried to build a project from Atom. But atom-build-gradle failed to retrieve the tasks. Here is the error I get:
Command failed: /bin/sh -c /home/antoine/workspace/Nvconnect/mitaicomponent/gradlew tasks
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine java version from '9-internal'.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
And here is the full stack trace:
Error: Command failed: /bin/sh -c /home/antoine/workspace/Nvconnect/mitaicomponent/gradlew tasks
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine java version from '9-internal'.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
at ChildProcess.exithandler (child_process.js:225:12)
at emitTwo (events.js:87:13)
at ChildProcess.emit (events.js:172:7)
at maybeClose (internal/child_process.js:818:16)
at Socket.<anonymous> (internal/child_process.js:319:11)
at emitOne (events.js:77:13)
at Socket.emit (events.js:169:7)
at Pipe._onclose (net.js:469:12)
I believe it cannot find my Java installation. I am using two different Java versions, depending on the project. So I use JAVA_HOME on the command line when I run Gradle or other Java tools. That could be what is bothering atom-build-gradle.
Can I do something about it?
That particular project is using Java 6 and Gradle 1.9.
Hello, I tried to build a project from Atom. But atom-build-gradle failed to retrieve the tasks. Here is the error I get:
And here is the full stack trace:
I believe it cannot find my Java installation. I am using two different Java versions, depending on the project. So I use JAVA_HOME on the command line when I run Gradle or other Java tools. That could be what is bothering atom-build-gradle.
Can I do something about it?
That particular project is using Java 6 and Gradle 1.9.