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

The check for jvm.dll happens to early in the bat file

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.3.2, 2.4.0, 3.0.0
    • 2.4.0, 3.0.2, 2.3.6, 4.0.0.M3
    • None
    • None

    Description

      When running karaf without JAVA_HOME set, but having the JDK installed returns the following warning:

      WARNING: Running karaf on a Java HotSpot Client VM because server-mode is not av
      ailable.
      Install Java Developer Kit to fix this.
      For more details see http://java.sun.com/products/hotspot/whitepaper.html#client

      But since the JDK is installed and found via a reg query, karaf will still startup. I think this check should be moved to after the JAVA_HOME validation is done to avoid this warning.

      Attachments

        Activity

          People

            jbonofre Jean-Baptiste Onofré
            charly Heath Kesler
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: