[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [iam-dev] "Unable to locate the Javac Compiler ..."
|
But that would make all of the Maven projects fail, wouldn't it? Or
this one fail all of the time?
Carlos Sanchez wrote:
It may be that Eclipse is being launched with a JRE instead of a JDK
On Fri, Jul 17, 2009 at 4:10 PM, Morris Jones<mojo@xxxxxxxxxxxxx> wrote:
At the moment the solution I have is to delete the project from Eclipse and
re-import it.
Morris Jones wrote:
Totally strange error that crops up occasionally in one of my several
Maven Eclipse projects:
Description Resource Path Location Type
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.
pom.xml /advertise line 1 pomproblemmarker
The strange thing is that, of course, I have JAVA_HOME pointing to real
JDK's (1.6), and project-specific settings are turned off, and Eclipse is
using a JDK for the installed JRE.
So something is fishy about that.
This is a paste from the "Problems" view in Eclipse 3.5
Mojo
--
Morris Jones
Monrovia, CA
http://www.whiteoaks.com
Old Town Astronomers: http://www.otastro.org
Twitter: http://twitter.com/mojo_la
_______________________________________________
iam-dev mailing list
iam-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/iam-dev
_______________________________________________
iam-dev mailing list
iam-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/iam-dev
--
Morris Jones
Monrovia, CA
http://www.whiteoaks.com
Old Town Astronomers: http://www.otastro.org
Twitter: http://twitter.com/mojo_la