You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm having the same problem with maven, which wants default-jre-headless | java7-runtime-headless which is provided by openjdk-11-jre-headless per https://packages.ubuntu.com/bionic/java/maven
Describe the bug
Installing tomcat8 or tomcat9 in debian only works with the openjdk packages provided by debian.
E.g.
tomcat9-common
depends ondefault-jre-headless | java8-runtime-headless | java8-runtime
.(Sadly the tomcat init script additionally fails to find the corretto jdk as it only checks
/usr/lib/jvm/default-java
for possibleJAVA_HOME
values)To Reproduce
Purge openjdk, install coretto 11 debian package, then install tomcat - openjdk will be installed again, and tomcat will use it by default.
Expected behavior
java-11-amazon-corretto-jdk
should providejava8-runtime
in addition tojava11-runtime
to be compatible with the debian packaging.Platform information
Additional context
The following in
/etc/default/tomcat8
should help tomcat finding corretto (or whatever is configured in debian alternatives for java):The text was updated successfully, but these errors were encountered: