You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Michael Lemke (JIRA)" <ji...@apache.org> on 2019/07/22 16:36:00 UTC

[jira] [Updated] (DAEMON-404) Crash: Openjdk not detected from registry

     [ https://issues.apache.org/jira/browse/DAEMON-404?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Lemke updated DAEMON-404:
---------------------------------
    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}}

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.

  was:
I have openjdk 12 installed and {{Jvm=auto}} set. When I start procrun the service crashes with an access violation.

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}}

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.


> Crash: Openjdk not detected from registry
> -----------------------------------------
>
>                 Key: DAEMON-404
>                 URL: https://issues.apache.org/jira/browse/DAEMON-404
>             Project: Commons Daemon
>          Issue Type: Bug
>          Components: Procrun
>    Affects Versions: 1.1.0, 1.2.0
>            Reporter: Michael Lemke
>            Priority: Major
>
> 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}}
> 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.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)