M2Eclipse plugin ignores compiler settings in project
-----------------------------------------------------

                 Key: MNGECLIPSE-217
                 URL: http://jira.codehaus.org/browse/MNGECLIPSE-217
             Project: Maven 2.x Extension for Eclipse
          Issue Type: Improvement
          Components: Maven Launcher
    Affects Versions: 0.0.10
            Reporter: Aaron Digulla


I got this error in the console after starting Eclipse:

11.12.06 09:31:52 CET: [INFO] Error for project: ********* (during 
generate-test-resources)
11.12.06 09:31:52 CET: [INFO] 
------------------------------------------------------------------------
11.12.06 09:31:52 CET: [INFO] Compilation failure

Unable to locate the Javac Compiler in:
  C:\Programme\Java\jre1.5.0_09\..\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.

I could create a skript to start Eclipse which sets JAVA_HOME but I don't want 
to do that. I have several different Java versions for testing on my machine 
and I need a clean environment. It would be nice if I could select the Java 
runtime to use in the M2Eclipse prefs pages.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to