Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » IAM (Eclipse Integration for Apache Maven) » IAM looking for Java tools in wrong place?
IAM looking for Java tools in wrong place? [message #569144] Thu, 21 May 2009 04:48
BenH is currently offline BenHFriend
Messages: 39
Registered: July 2009
Member
An error has started today whenever I try to do a Maven build:

"Unable to locate the Javac Compiler in:C:\Program
Files\Java\jre6\..\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"

The relevant project's JRE is pointing at a valid JDK 1.5 install.

Machine wide JAVA_HOME is set to C:\Program Files\Java\jdk1.6.0_06\bin

Both contain tools.jar. I dont know why IAM's Maven is looking at
"C:\Program Files\Java\jre6\..\lib\tools.jar". That path doesnt even exist
on my machine, and is not mentioned in any env var.

Also, it didnt do this the last 2 days, running on same project and same
machine and same IDE. Strange...

-Ben
Previous Topic:Classpath container suddenly vanished and I cannot get it back
Next Topic:Classpath container suddenly vanished and I cannot get it back
Goto Forum:
  


Current Time: Mon Nov 19 09:30:24 GMT 2018

Powered by FUDForum. Page generated in 0.02126 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top