You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Dennis Lundberg (JIRA)" <ji...@codehaus.org> on 2011/11/09 18:35:51 UTC
[jira] Commented: (MNG-5195) ERROR: JAVA_HOME is set to an invalid
directory.
[ https://jira.codehaus.org/browse/MNG-5195?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=283140#comment-283140 ]
Dennis Lundberg commented on MNG-5195:
--------------------------------------
If you run "set" from a command prompt, what value does it show for JAVA_HOME?
> ERROR: JAVA_HOME is set to an invalid directory.
> ------------------------------------------------
>
> Key: MNG-5195
> URL: https://jira.codehaus.org/browse/MNG-5195
> Project: Maven 2 & 3
> Issue Type: Bug
> Environment: window 7
> Reporter: wangfaxi
>
> ERROR: JAVA_HOME is set to an invalid directory.
> JAVA_HOME = "..\..\..\\JDK\jdk1.6.0_24-64"
> Please set the JAVA_HOME variable in your environment to match the
> location of your Java installation
> My JAVA_HOME is set perfectly ( i checked java.exe set on C:\GigaSpacesTraining\JDK\jdk1.6.0_24-64\jdk1.6.0_24\bin) JAI and JMF all working ... javac and rest of the commands also work so i guess i good with it.
> any Idea's ?
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
RE: [jira] Commented: (MNG-5195) ERROR: JAVA_HOME is set to an
invalid directory.
Posted by Robert Scholte <rf...@codehaus.org>.
JAVA_HOME should point to C:\GigaSpacesTraining\JDK\jdk1.6.0_24-64\jdk1.6.0_24 (you seem to have an extra subdirectory)
-Robert
> Date: Wed, 9 Nov 2011 11:35:51 -0600
> From: jira@codehaus.org
> To: issues@maven.apache.org
> Subject: [jira] Commented: (MNG-5195) ERROR: JAVA_HOME is set to an invalid directory.
>
>
> [ https://jira.codehaus.org/browse/MNG-5195?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=283140#comment-283140 ]
>
> Dennis Lundberg commented on MNG-5195:
> --------------------------------------
>
> If you run "set" from a command prompt, what value does it show for JAVA_HOME?
>
> > ERROR: JAVA_HOME is set to an invalid directory.
> > ------------------------------------------------
> >
> > Key: MNG-5195
> > URL: https://jira.codehaus.org/browse/MNG-5195
> > Project: Maven 2 & 3
> > Issue Type: Bug
> > Environment: window 7
> > Reporter: wangfaxi
> >
> > ERROR: JAVA_HOME is set to an invalid directory.
> > JAVA_HOME = "..\..\..\\JDK\jdk1.6.0_24-64"
> > Please set the JAVA_HOME variable in your environment to match the
> > location of your Java installation
> > My JAVA_HOME is set perfectly ( i checked java.exe set on C:\GigaSpacesTraining\JDK\jdk1.6.0_24-64\jdk1.6.0_24\bin) JAI and JMF all working ... javac and rest of the commands also work so i guess i good with it.
> > any Idea's ?
>
> --
> This message is automatically generated by JIRA.
> For more information on JIRA, see: http://www.atlassian.com/software/jira
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org