You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Richard Morrell (Jira)" <ji...@apache.org> on 2019/11/20 11:45:00 UTC

[jira] [Commented] (DAEMON-410) jsvc fails to find OpenJDK11 libjvm.so on a raspberry 4 (buster)

    [ https://issues.apache.org/jira/browse/DAEMON-410?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16978338#comment-16978338 ] 

Richard Morrell commented on DAEMON-410:
----------------------------------------

I have also had this issue on RedHat 7u7

See attached location.patch

> jsvc fails to find OpenJDK11 libjvm.so on a raspberry 4 (buster)
> ----------------------------------------------------------------
>
>                 Key: DAEMON-410
>                 URL: https://issues.apache.org/jira/browse/DAEMON-410
>             Project: Commons Daemon
>          Issue Type: Bug
>          Components: Jsvc
>    Affects Versions: 1.0.15
>         Environment: Java version:
> openjdk version "11.0.3" 2019-04-16
> OpenJDK Runtime Environment (build 11.0.3+7-post-Raspbian-5)
> OpenJDK Server VM (build 11.0.3+7-post-Raspbian-5, mixed mode)
> Java home:
> /usr/lib/jvm/java-11-openjdk-armhf
>            Reporter: Jemine
>            Priority: Major
>         Attachments: location.patch
>
>
> This is the log part of the JVM discovery:
> Attempting to locate Java Home in /usr/lib/jvm/default-java
> Attempting to locate VM configuration file /usr/lib/jvm/default-java/jre/lib/jvm.cfg
> Attempting to locate VM configuration file /usr/lib/jvm/default-java/lib/jvm.cfg
> Found VM configuration file at /usr/lib/jvm/default-java/lib/jvm.cfg
> Found VM server definition in configuration
> Checking library /usr/lib/jvm/default-java/jre/lib/arm/server/libjvm.so
> Checking library /usr/lib/jvm/default-java/lib/arm/server/libjvm.so
> Cannot locate library for VM server (skipping)
> Found VM client definition in configuration
> Checking library /usr/lib/jvm/default-java/jre/lib/arm/client/libjvm.so
> Checking library /usr/lib/jvm/default-java/lib/arm/client/libjvm.so
> Cannot locate library for VM client (skipping)
> Found VM zero definition in configuration
> Checking library /usr/lib/jvm/default-java/jre/lib/arm/zero/libjvm.so
> Checking library /usr/lib/jvm/default-java/lib/arm/zero/libjvm.so
> Cannot locate library for VM zero (skipping)
> Java Home located in /usr/lib/jvm/default-java
> +-- DUMPING JAVA HOME STRUCTURE ------------------------
> | Java Home:       "/usr/lib/jvm/default-java"
> | Java VM Config.: "/usr/lib/jvm/default-java/lib/jvm.cfg"
> | Found JVMs:      0
> +-------------------------------------------------------
> The real path is the following:
> /usr/lib/jvm/default-java/lib/server/libjvm.so
> Using Java 8 works fine:
> openjdk version "1.8.0_212"
> OpenJDK Runtime Environment (build 1.8.0_212-8u212-b01-1+rpi1-b01)
> OpenJDK Client VM (build 25.212-b01, mixed mode)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)