You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jean-Baptiste Onofré (Resolved JIRA)" <ji...@apache.org> on 2012/03/14 10:27:38 UTC
[jira] [Resolved] (KARAF-1116) Scripts fail at resolving java jdk.
[ https://issues.apache.org/jira/browse/KARAF-1116?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jean-Baptiste Onofré resolved KARAF-1116.
-----------------------------------------
Resolution: Won't Fix
Agree with Andreas, users have to define the JAVA variable correctly. As the "default" behavior of the Karaf script is correct, I consider it's not a Karaf bug.
> Scripts fail at resolving java jdk.
> ------------------------------------
>
> Key: KARAF-1116
> URL: https://issues.apache.org/jira/browse/KARAF-1116
> Project: Karaf
> Issue Type: Bug
> Components: karaf-core
> Affects Versions: 2.2.4
> Environment: Windows 7 x64
> Reporter: Lukas Stampf
> Assignee: Jean-Baptiste Onofré
> Fix For: 2.2.6, 3.0.0
>
>
> Scripts like karaf.bat have a problem resolving the java jdk under windows, when the variables are setup this way:
> JAVA_HOME = F:\Java\jdk
> JAVA = %JAVA_HOME%\bin
> Path = various stuff; %JAVA%
> echo %PATH%
> results in the correct output of: F:\Java\jdk\bin
> If the JAVA variable is deleted and the Path is set to %JAVA_HOME%\bin it does work, although the resulting path is the same.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira