I upgraded my debian to bionic and I have a problem with java. It has upgraded my java to jdk11 which is causing problems with missing EE modules so I want to make jdk8 the default. I've done:
I've tried setting JAVA_HOME in the tomcat script but that isn't working either.
Any help would be appreciated.
Cheers,
Neil
I found the solution - tomcat searches for a jvm and prefers higher numbers in the /etc/init.d/tomcat8 script. It never looks for the default java.