maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From AllLangsDevel <jackieglea...@gmail.com>
Subject Problem with Maven and JDK
Date Thu, 11 Nov 2010 14:56:14 GMT

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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message