Enrique, I'm currious about the Java_home Java home: C:\IBM\ibm-java-sdk-60-win-i386\sdk\jre
Does the jre have the javac -command? isn't that with the jdk-suite? Can you do "javac -version" from command line? cheers, Per-Henrik On Tue, Sep 7, 2010 at 7:35 PM, Enrique Gaona <[email protected]> wrote: > Per-Henrik > The output from mvn -version, is showing Java Home pointing to > C:\IBM\ibm-java-sdk-60-win-i386\sdk\jre and the Java Home from echo is > pointing to C:\IBM\ibm-java-sdk-60-win-i386\sdk > > C:\RTC-data\workspace\>mvn -v > Apache Maven 2.2.1 (r801777; 2009-08-06 14:16:01-0500) > Java version: 1.6.0 > Java home: C:\IBM\ibm-java-sdk-60-win-i386\sdk\jre > Default locale: en_US, platform encoding: Cp1252 > > > C:\RTC-data\workspace>echo %JAVA_HOME% > C:\IBM\ibm-java-sdk-60-win-i386\sdk > > Thanks. > > Enrique > > > > [image: Inactive hide details for per-henrik hedman ---09/07/2010 11:59:13 > AM---what's the output from "mvn -version"? Could help deter]per-henrik > hedman ---09/07/2010 11:59:13 AM---what's the output from "mvn -version"? > Could help determine what the > > > *per-henrik hedman <[email protected]>* > > 09/07/2010 11:58 AM > Please respond to > "Maven Users List" <[email protected]> > > > To > > Maven Users List <[email protected]> > cc > > > Subject > > Re: Maven failing due to javac path issue -- Windows > what's the output from "mvn -version"? Could help determine what the > actual value of JAVA_HOME according to mvn. > > What resides in the C:\IBM\ibm-java-sdk-60-win-i386\sdk\bin ? > > can you run javac -version? > > Per-Henrik > > On Tue, Sep 7, 2010 at 6:43 PM, Trevor Harmon <[email protected]> wrote: > > On Sep 7, 2010, at 9:34 AM, Enrique Gaona wrote: > >> Can't say if it works with Oracle's JDK, since I've not tried it before. > >> > > Trying with Oracle's would help determine where the problem lies. > >> One workaround would be specify the maven-compiler-plugin in the parent > pom.xml, but I really don't want to do that. > >> > > > > Can't you just point JAVA_HOME and your PATH to the Oracle JDK? > > > > Trevor > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > >
