Apologies for not responding right away, had to deal with another fire:-)
Per-Henrik's request:
C:\Documents and Settings\Administrator>javac -version
javac 1.6.0-internal
I just resolved the problem by adding a maven-compiler-plugin to the
project's pom.xml and that resolved the issue. Thanks everyone for your
input, very much appreciate all the help.
Cheers,
Enrique
Martin Gainty
<mgai...@hotmail.
com> To
<[email protected]>
09/07/2010 07:22 cc
PM
Subject
RE: Maven failing due to javac path
Please respond to issue -- Windows
"Maven Users
List"
<[email protected]
he.org>
$JDK_HOME/bin/javac.exe
$JRE_HOME/bin/java.exe
Martin
______________________________________________
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene
Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte
Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht
dient lediglich dem Austausch von Informationen und entfaltet keine
rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von
E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le
destinataire prévu, nous te demandons avec bonté que pour satisfaire
informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie
de ceci est interdite. Ce message sert à l'information seulement et n'aura
pas n'importe quel effet légalement obligatoire. Étant donné que les email
peuvent facilement être sujets à la manipulation, nous ne pouvons accepter
aucune responsabilité pour le contenu fourni.
> To: [email protected]
> From: [email protected]
> Subject: Re: Maven failing due to javac path issue -- Windows
> Date: Tue, 7 Sep 2010 23:11:21 +0200
>
> Anders Hammar wrote:
>
> > I believe that the Java home path given by "mvn -version" on a Windows
> > platform points at the jre, not the jdk. Possibly someone on Windows
could
> > confirm this?
>
> This is normal (also on Linux). I am also curious on "java -version"
though
> ...
>
> - Jörg
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>