Sebastian Schmid created DAEMON-380: ---------------------------------------
Summary: 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 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)