[ http://jira.codehaus.org/browse/MAVEN-1588?page=history ]
     
Brett Porter closed MAVEN-1588:
-------------------------------

    Fix Version:     (was: 1.0.2)
     Resolution: Incomplete

it looks for %JAVA_HOME%\bin\java.exe, so d:\Sun\Appserver\bin\java.exe 
probably doesn't exist - and I'd suspect that's because the appserver is not 
really a JDK.

You need to point it at your JDK, eg c:\program files\java\jdk1.5.0


> JAVA_HOME is set to invalid directory
> -------------------------------------
>
>          Key: MAVEN-1588
>          URL: http://jira.codehaus.org/browse/MAVEN-1588
>      Project: maven
>         Type: Bug
>     Versions: 1.0.2
>  Environment: Win XP Professional, SP2, j2eesdk-1_4_01_2005Q1-windows
>     Reporter: Klaus Burger

>
>
> Microsoft Windows XP [Version 5.1.2600]
> C:\Dokumente und Einstellungen\Klausus>maven plugin:download 
> -DgroupID=andromda -DartifactID=maven-andromdapp-plugin -Dversion=3.0-RC1
> ERROR: JAVA_HOME is set to an invalid directory.
> JAVA_HOME = d:\sun\appserver
> Please set the JAVA_HOME variable in your environment to match the
> location of your Java installation
> The error occurs no matter what the directory is. Normaly, the named 
> directory should be OK! I even tried it with capital letters 
> (D:\Sun\AppServer), I also copied the path from the explorer window.
> Any ideas? I just did as it was told in http://www.andromda.org/starting.html
> Klaus

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to