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

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3.2, 2.4.0, 3.0.0
    • Fix Version/s: 2.4.0, 3.0.2, 2.3.6, 4.0.0.M3
    • Component/s: None
    • Labels:
      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.

        Activity

        Show
        jbonofre Jean-Baptiste Onofré added a comment - Fixed on master: https://git-wip-us.apache.org/repos/asf?p=karaf.git;a=commitdiff;h=93839c640af9ecc20f1250deb3d2ee2108ef794e
        Show
        jbonofre Jean-Baptiste Onofré added a comment - Fixed on karaf-3.0.x: https://git-wip-us.apache.org/repos/asf?p=karaf.git;a=commitdiff;h=cae90171c9c04fee7bc0d435e857bfbb6d7db483
        Show
        jbonofre Jean-Baptiste Onofré added a comment - Fixed on karaf-2.x: https://git-wip-us.apache.org/repos/asf?p=karaf.git;a=commitdiff;h=a30861d4679f1a27fbd79dba6756432666870db0
        Show
        jbonofre Jean-Baptiste Onofré added a comment - Fixed on karaf-2.3.x: https://git-wip-us.apache.org/repos/asf?p=karaf.git;a=commitdiff;h=1b5fb8f4819cbc2b31350fe441a30fcc9f11b374

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development