Hi! I got this error when right click my Maven2 enabled project and select Maven2->Update Source Folders:
6/16/07 10:53:27 PM SGT: ERROR mojo-execute : compiler:compile : Compilation failure Unable to locate the Javac Compiler in: C:\Program Files\Java\jre1.5.0_12\..\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. In Eclipse->Windows->Preferences...->Java->Installed JREs, I have only one entry with JRE home directory pointing to C:\Program Files\Java\jdk1.5.0_12 my JAVA_HOME is C:\Program Files\Java\jdk1.5.0_12 and the eclipse.ini contains -vm "C:\Program Files\Java\jdk1.5.0_12\bin\java.exe" -vmargs -Xms40m -Xmx256m May I know what could be the problem? -- Hez --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email
