Error in finding Java_HOME with Gradle build using STS

(priyanka_bhopali) #1

Hello There,

This question is for those who use eclipse /STS for gradle development:

When I am building Gradle I get :

Cause: Unable to find a javac compiler; is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK.
It is currently set to "C:\Program Files\Java\jre6"

Now I am using all default Gradle option so not sure what going wrong.

I also want to know what GUI people use for Gradle development or it is mostly command line based.

Thanks Priyanka

(Carlo Luib-Finetti) #2

Have a look here:

Seems, they resolved it (I did not find the time to test it)