Are you sure that the C:\JavaSDK\jre1.5.0_12\..\lib is the proper path to your tools.jar?
I tried all the instructions in:
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
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.