Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
1.1-rc-2
-
None
-
None
-
Ubuntu 7.10 Gutsy Gibbon, java version "1.6.0_03", Groovy Head r8979
Description
After a clean compile and install of Groovy and a clean compile and install of Gant then when Gant tries to process a javac Ant task, the following output is generated:
> gant test [groovyc] No sources to compile [mkdir] Created dir: /home/Checkouts/Subversion/Gant/gant/trunk/target/test-classes [javac] Compiling 1 source file to /home/Checkouts/Subversion/Gant/gant/trunk/target/classes Unable to find a javac compiler; com.sun.tools.javac.Main is not on the classpath. Perhaps JAVA_HOME does not point to the JDK. It is currently set to "/usr/lib/jvm/java-6-sun-1.6.0.03/jre" |
> echo $JAVA_HOME /usr/lib/jvm/java-6-sun-1.6.0.03 |
> |