Uploaded image for project: 'Commons Daemon'
  1. Commons Daemon
  2. DAEMON-404

Crash: Openjdk not detected from registry

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.1.0, 1.2.0
    • 1.2.1
    • Procrun
    • None
    • Windows Server 2016 / 1607

    Description

      I have openjdk 12 installed and Jvm=auto set. When I start procrun 1.2.0 the service crashes with an access violation. With procrun 1.1.0 the service doesn't find the dll at all.

      Openjdk is from

      https://github.com/ojdkbuild/ojdkbuild/releases/download/12.0.1-1/java-12-openjdk-12.0.1.12-1.windows.ojdkbuild.x86_64.msi

      and installed such that it only sets the keys under HKLM\JavaSoft\JDK and updates PATH. No JAVA_HOME set. There are no other Java installations besides OpenJdk.

      If I change HKLM\SOFTWARE\WOW6432Node\Apache Software Foundation\Procrun 2.0\servicename\Parameters\Java from auto to the actual path of the OpenJdk jvm.dll the service starts just fine.

      The situation is the same with the OpenJdk build from AdoptOpenJDK. The keys created under HKLM\JavaSoft are slightly different, though.

      Attachments

        Activity

          People

            Unassigned Unassigned
            lemkemch Michael Lemke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: