I apt-get install pdfsam
in 16.04. It doesn't work with the OpenJDK 9 (preinstalled). Author's site says it works with JDK8. So i did:
sudo apt-get install openjdk-8-jdk
That didn't work ,so i tried:
sudo apt-get install openjdk-8-jre
Still nothing. Nada. Any ideas what i did wrong?
If you have multiple Java versions installed, you can set the version used by default.
Use the following command:
I had no desire to change the system default so the fix to make pdfsam run is simply to add to your home bin directory a shell script which starts it using the the right Java flavor. Here is what I did:
and all works fine thereafter. Even my menu shortcut works fine which pleased me (clearly did not point at the /usr/bin/pdfsam script).