You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Aaron Digulla (JIRA)" <ji...@codehaus.org> on 2006/12/11 12:50:47 UTC
[jira] Created: (MNGECLIPSE-217) M2Eclipse plugin ignores compiler
settings in project
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
[jira] Closed: (MNGECLIPSE-217) M2Eclipse plugin ignores compiler
settings in project
Posted by "Eugene Kuleshov (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNGECLIPSE-217?page=all ]
Eugene Kuleshov closed MNGECLIPSE-217.
--------------------------------------
Assignee: Eugene Kuleshov
Resolution: Won't Fix
All you required to do is make sure that JDK's are registered in Preferences -> Java -> Installed JREs. Then update sources action (I know name is confusing) supposed to choose the correct JRE from that list.
> 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
> Assigned To: Eugene Kuleshov
>
> 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