-------- Original Message --------
Subject: Re: maven under Eclipse
Date: Fri, 27 Apr 2007 19:33:35 -0400
From: Ron Wheeler <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Organisation: Artifact
To: Santiago Gala <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>
I had the JDK in the PATH but Eclipse has its own way to find a Java
compiler and that was were the problem was.
Once I fixed Eclipse, I was on my way to the next problem.
Thanks
Ron
Santiago Gala wrote:
El vie, 27-04-2007 a las 17:04 -0400, Ron Wheeler escribió:
Why is it looking for a Java Compiler in tools.jar?
It is in C:\Program Files\Java\jre1.6.0\bin and the system PATH includes
this as.
JAVA_HOME is set to C:\Program Files\Java\jre1.6.0
Diagnosis: Compilation failure
Unable to locate the Javac Compiler in:
C:\Program Files\Java\jre1.6.0\..\lib\tools.jar
it is assuming you have a jdk, so ../lib/ leads to the place where the
tools are. You are using a jre (looks), and the JRE has no compiler.
I'm not sure if/how you can tell it to use the eclipse compiler for java
instead. Else, you should install a JDK and point JAVA_HOME to it.
Regards
Santiago
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]