As Andreas says, the problem is due to the wrong JRE being installed,
but at IIRC openjdk-9-jre-headless was the one installed by default in
Ubuntu 16 when the Tomcat 8 package was installed. Perhaps an
appropriate fix is to limit range of versions permitted.
--
You received this bug notification
This seems to be related to https://bugs.openjdk.java.net/browse/JDK-8065675
The version of Java called seems to be using the CheckEndorsedAndExtDirs option
and failing due to the definition of deprecated endorsed directory (see
https://www.java.com/en/download/faq/release_changes.xml Java 8 Upda
*** This bug is a duplicate of bug 1586054 ***
https://bugs.launchpad.net/bugs/1586054
** This bug has been marked a duplicate of bug 1586054
package tomcat8 8.0.32-1ubuntu1 failed to install/upgrade: subprocess
installed post-installation script returned error exit status 1
--
You recei
I have the same problem. The contents of /var/log/tomcat8/catalina.out say:
-Djava.endorsed.dirs=/usr/share/tomcat8/endorsed is not supported. Endorsed
standards and standalone APIs
in modular form will be supported via the concept of upgradeable modules.
Error: Could not create the Java Virtual M