Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-1799

JAVA_HOME autodiscovery not working on Windows 7 (karaf.bat)

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.2.9
    • Fix Version/s: None
    • Component/s: karaf-os-integration
    • Labels:
      None
    • Environment:

      Windows 7 Professional, JDK 1.6.0_35, JDK 1.7.0_07, jre6, jre7

      Description

      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"

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              rwm Raphael Majeed
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated: