default jre is JDK1.5.0_11
if i select jre1.5.0_11 i get other errors:
Caused by: org.apache.maven.plugin.CompilationFailureException: Compilation
failure
Unable to locate the Javac Compiler in:
C:\Programme\Java\jre1.5.0_11\..\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.
at
org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:516)
at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:114)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:415)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:531)
... 8 more
-----Ursprüngliche Nachricht-----
Von: Leszek Gawron [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 15. Juni 2007 11:49
An: [email protected]
Betreff: Re: AW: [m2eclipse-user] compilation failure
Peter Schröder wrote:
> hi leszek,
>
> i am running eclipse with:
> afaik i am running it with jdk: "project compile [m2 build]
> C:\Programme\Java\jdk1.5.0_11\bin\javaw.exe"
Window -> Preferences -> Java -> Installed JREs
this is the place you should check if you are using jdk or jre.
--
Leszek Gawron
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email