commons-issues mailing list archives

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

             Summary: VM not found when using Oracle Java 9
                 Key: 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: **
            Reporter: Sebastian Schmid

Oracle Java 9 seems to use another folder layout than for example OpenJDK 9, which results
in JSVC not being able to find

I've installed Java 9 via PPA and found that the is located at /lib/server/
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/ and /lib/amd64/server/
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

View raw message