how?
-----Ursprüngliche Nachricht-----
Von: Leszek Gawron [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 15. Juni 2007 12:45
An: [email protected]
Betreff: Re: AW: AW: [m2eclipse-user] compilation failure
Peter Schröder wrote:
> 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
you should point your eclipse to JDK directory not 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