karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Heath Kesler (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-1799) JAVA_HOME autodiscovery not working on Windows 7 (karaf.bat)
Date Fri, 10 May 2013 19:21:17 GMT

    [ https://issues.apache.org/jira/browse/KARAF-1799?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13654753#comment-13654753
] 

Heath Kesler commented on KARAF-1799:
-------------------------------------

I did leave the current logic in place for now to keep it backwards compatible.  I just made
it error thru and try this new logic before failing out. 
                
> 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

Mime
View raw message