commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebastian Schmid (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DAEMON-380) VM not found when using Oracle Java 9
Date Tue, 16 Jan 2018 13:46:00 GMT

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

Sebastian Schmid updated DAEMON-380:
------------------------------------
    Environment: 
Ubuntu 16.04.3 LTS

Oracle Java 9.0.1
 Java(TM) SE Runtime Environment (build 9.0.1+11)
 Java HotSpot(TM) 64-Bit Server VM (build 9.0.1+11, mixed mode)

(installed via PPA, as described [here|http://www.webupd8.org/2015/02/install-oracle-java-9-in-ubuntu-linux.html])

  was:
Ubuntu 16.04.3 LTS

Oracle Java 9.0.1
Java(TM) SE Runtime Environment (build 9.0.1+11)
Java HotSpot(TM) 64-Bit Server VM (build 9.0.1+11, mixed mode)

(installed via PPA, as described here: **http://www.webupd8.org/2015/02/install-oracle-java-9-in-ubuntu-linux.html)


> VM not found when using Oracle Java 9
> -------------------------------------
>
>                 Key: DAEMON-380
>                 URL: https://issues.apache.org/jira/browse/DAEMON-380
>             Project: Commons Daemon
>          Issue Type: Bug
>          Components: Jsvc
>    Affects Versions: 1.1.0
>         Environment: Ubuntu 16.04.3 LTS
> Oracle Java 9.0.1
>  Java(TM) SE Runtime Environment (build 9.0.1+11)
>  Java HotSpot(TM) 64-Bit Server VM (build 9.0.1+11, mixed mode)
> (installed via PPA, as described [here|http://www.webupd8.org/2015/02/install-oracle-java-9-in-ubuntu-linux.html])
>            Reporter: Sebastian Schmid
>            Priority: Minor
>
> Oracle Java 9 seems to use another folder layout than for example OpenJDK 9, which results
in JSVC not being able to find libjvm.so.
> I've installed Java 9 via PPA and found that the libjvm.so is located at /lib/server/libjvm.so
in the $JAVA_HOME dir, but JSVC does not look for the shared object at this location.
> Instead, JSVC tries to access /jre/lib/amd64/server/libjvm.so and /lib/amd64/server/libjvm.so
and then fails saying "Cannot find any VM in Java Home".
> As a workaround I created a symlink in amd64 dir, but probably the path used by Oracle
Java 9 should be specified in location.c file, too?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message