Hi ich bekomme beim versuch mein Projekt zu builden folgenden Fehler:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project example: Compilation failure
[ERROR] Unable to locate the Javac Compiler in:
[ERROR] C:\Programme\Java\jre6\..\lib\tools.jar
[ERROR] Please ensure you are using JDK 1.4 or above and
[ERROR] not a JRE (the com.sun.tools.javac.Main class is required).
[ERROR] In most cases you can change the location of your Java
[ERROR] installation by setting the JAVA_HOME environment variable.
[ERROR] -> [Help 1].
Meine JAVA_HOME ist in den Systemvariabeln wie folgt gesetzt: C:\Programme\Java\jre6\
Ich hab schon versuch die Java Home in der eclipse.ini am Anfang mitzugeben aber das funktioniert auch nicht. Kann mir das nicht erklären, hoffe ihr habt wie sonst einen guten Rat für mich.
Lg
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project example: Compilation failure
[ERROR] Unable to locate the Javac Compiler in:
[ERROR] C:\Programme\Java\jre6\..\lib\tools.jar
[ERROR] Please ensure you are using JDK 1.4 or above and
[ERROR] not a JRE (the com.sun.tools.javac.Main class is required).
[ERROR] In most cases you can change the location of your Java
[ERROR] installation by setting the JAVA_HOME environment variable.
[ERROR] -> [Help 1].
Meine JAVA_HOME ist in den Systemvariabeln wie folgt gesetzt: C:\Programme\Java\jre6\
Ich hab schon versuch die Java Home in der eclipse.ini am Anfang mitzugeben aber das funktioniert auch nicht. Kann mir das nicht erklären, hoffe ihr habt wie sonst einen guten Rat für mich.
Lg