You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jamie goodyear (JIRA)" <ji...@apache.org> on 2013/05/10 21:01:16 UTC
[jira] [Commented] (KARAF-1799) JAVA_HOME autodiscovery not working
on Windows 7 (karaf.bat)
[ https://issues.apache.org/jira/browse/KARAF-1799?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13654735#comment-13654735 ]
Jamie goodyear commented on KARAF-1799:
---------------------------------------
The logic appears good to me.
Given no differences between win7, xp, and win8 in regards to the registry entry names, I'd say it looks good to go.
> JAVA_HOME autodiscovery not working on Windows 7 (karaf.bat)
> ------------------------------------------------------------
>
> Key: KARAF-1799
> URL: https://issues.apache.org/jira/browse/KARAF-1799
> Project: Karaf
> Issue Type: Bug
> Components: karaf-os-integration
> Affects Versions: 2.2.9
> Environment: Windows 7 Professional, JDK 1.6.0_35, JDK 1.7.0_07, jre6, jre7
> Reporter: Raphael Majeed
> Attachments: karaf-2.2.12_1799.diff
>
>
> When running karaf.bat without setting JAVA_HOME, karaf.bat tries to determine JAVA_HOME automatically.
> The following happens on Windows 7:
> 1. The built in windows security manager asks for permission to allow regedit to access the registry twice.
> 2. karaf.bat exits with message "Unable to retrieve JAVA_HOME"
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira