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


  was:
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.

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



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

Reply via email to