So I have set up the JAVA home and I even set JRE_HOME think that may help
but I am getting...
mvn clean test

[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Compilation failure
Unable to locate the Javac Compiler in:
  /usr/jdk/instances/jdk1.6.0/jre/../lib/tools.jar
Please ensure you are using JDK 1.4 or above and
not a JRE (the com.sun.tools.javac.Main class is required).
In most cases you can change the location of your Java
installation by setting the JAVA_HOME environment variable.

Of course tools.jar is not at this location but I don't even know why it
needs it, isn't that just for J2EE?

Thanks

Jackie
-- 
View this message in context: 
http://maven.40175.n5.nabble.com/Problem-with-Maven-and-JDK-tp3260391p3260391.html
Sent from the Maven - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to