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

startup fails on Windows with only JRE installed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.2.8, 3.0.0
    • 2.3.0, 3.0.0
    • None
    • None
    • Windows XP 32bit
      Oracle Java Runtime Environment 7u5

    Description

      It fails with the error:

      Error: missing `server' JVM at `C:\Program Files\Java\jre7\bin\server\jvm.dll'.
      Please install or use the JRE or JDK that contains these missing components.
      

      Possible workarounds:
      a) Install Oracle JDK
      b) modify the JAVA_OPTS:

      set JAVA_OPTS=-Xmx512M
      karaf.bat
      

      The startup-script should contain special handling for JRE on windows and fallback to "-client" of "-server" is not available.

      Attachments

        1. jre-windows-client.patch
          1 kB
          Christoph Gritschenberger

        Activity

          People

            pieber Andreas Pieber
            christophg Christoph Gritschenberger
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: