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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.2.9
    • None
    • karaf
    • None
    • 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

        1. karaf-2.2.12_1799.diff
          3 kB
          Heath Kesler

        Activity

          People

            Unassigned Unassigned
            rwm Raphael Majeed
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: