After almost five years, it may already be too late to help the original asker, but today I had the same problem when trying to run jsvc with open-jdk-11 for AMD64, so this might help someone later.
To diagnose the problem, I ran jsvc with the --debug flag, and this told me that it was suffocating when trying to find libjvm.so. I ran find/usr/lib/jvm/java-11-openjdk-amd64 -name libjvm.so and found it at /usr/lib/jvm/java-11-openjdk-amd64/lib/server/libjvm.so, but jsvc was looking for it at / usr / lib / jvm / java-11-openjdk-amd64 // lib / amd64 /server/libjvm.so. So, I did this, and then JSCV worked:
sudo mkdir /usr/lib/jvm/java-11-openjdk-amd64/lib/amd64 sudo ln -s /usr/lib/jvm/java-11-openjdk-amd64/lib/server /usr/lib/jvm/java-11-openjdk-amd64/lib/amd64/
It turns out the problem is fixed in later versions of jsvc. I had a problem with jsvc version 1.0.6 that occurs when running apt install jsvc on Ubuntu 18.04. After I downloaded commons-daemon src version 1.2.0 from Apache and compiled jsvc myself, the problem was fixed and I no longer needed a symlink.
source share