Hello Guys! Thanks for your replies!
I installed jdk 1.7 and reset the JAVA_HOME to that folder. The output of mvn --version now give: Apache Maven 3.0.3 (r1075438; 2011-02-28 18:31:09+0100) Maven home: /home/fredrik/Applications/apache-maven-3.0.3 Java version: 1.7.0_02, vendor: Oracle Corporation Java home: /home/fredrik/Applications/jdk1.7.0_02/*jre* Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: "3.0.0-14-generic", arch: "i386", family: "unix" As I see it seems like maven adds the *jre* Best regards Fredrik -- View this message in context: http://maven.40175.n5.nabble.com/How-to-set-JAVA-HOME-for-maven-tp5073695p5074397.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]
