-
1. Re: Error: Unable to locate Javac Compiler in C:\JavaSDK\jre1.5.0_12\..\lib
konrad_a Nov 8, 2007 4:48 AM (in response to ptran)Are you sure that the C:\JavaSDK\jre1.5.0_12\..\lib is the proper path to your tools.jar?
-
2. Re: Error: Unable to locate Javac Compiler in C:\JavaSDK\jre1.5.0_12\..\lib
mlavannis Mar 31, 2009 1:41 PM (in response to konrad_a)I tried all the instructions in:
http://docs.codehaus.org/display/M2ECLIPSE/Project+FAQ
And all the related suggestions on various forums. Nothing worked.
Finally I removed all the JREs in my C:\ProgramFIles\Java - which is my JAVA_HOME. Now only the JDKs were available in JAVA_HOME - the error went away and everything started to work!
Looks like something in eclipse makes it pick the first JRE it finds in JAVA_HOME
Edited by: mlavannis on Mar 31, 2009 5:36 PM
Edited by: mlavannis on Mar 31, 2009 5:40 PM
-
3. Re: Error: Unable to locate Javac Compiler in C:\JavaSDK\jre1.5.0_12\..\lib
mielket Apr 1, 2009 3:18 AM (in response to mlavannis)Looks like something in eclipse makes it pick the first JRE it finds in JAVA_HOME.
Your JAVA_HOME environment variable should only point to one JDK installation, not to multiple. Typically it points to a JDK not a JRE.