I had received couple of queries stating that an error occurs when compiling with Provisioner using Maven2 from within Eclipse. The error message is:
org.apache.maven.plugin.CompilationFailureException: Compilation failure
Unable to locate the Javac Compiler in:
C:\Program Files\Java\jre1.6.0_03\..\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).
If you are getting this error you'll have to switch from JRE to JDK:
1. Goto Eclipse's preferences window (Window -> Preferences).
2. Navigate to "Installed JREs" under Java link.
3. Add a new JDK definition. Ensure that you make it the default and that the JDK that you add is 1.4 or higher.
Hope this helps,
/GE.-
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi All,
I had received couple of queries stating that an error occurs when compiling with Provisioner using Maven2 from within Eclipse. The error message is:
org.apache.maven.plugin.CompilationFailureException: Compilation failure
Unable to locate the Javac Compiler in:
C:\Program Files\Java\jre1.6.0_03\..\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).
If you are getting this error you'll have to switch from JRE to JDK:
1. Goto Eclipse's preferences window (Window -> Preferences).
2. Navigate to "Installed JREs" under Java link.
3. Add a new JDK definition. Ensure that you make it the default and that the JDK that you add is 1.4 or higher.
Hope this helps,
/GE.-