Hi,
I had the same problem: Gradle failed to build my project complaining that
JAVA_HOME is set to /usr/lib/jvm/java-6-openjdk/, though JAVA_HOME was set
to /usr/lib/jvm/jdk1.7.0/.

Finally, I found that Gradle doesn't use JAVA_HOME variable, actually it
uses symbolic link /usr/lib/jvm/default-java which leads to
/usr/lib/jvm/java-6-openjdk/ by default. Modify this link to point to
correct java installation.

--
View this message in context: 
http://gradle.1045684.n5.nabble.com/Misleading-error-condition-tp4410563p4926931.html
Sent from the gradle-user mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to