Le 29/01/2021 à 15:09, Giuseppe Sacco a écrit : > Dear Maintainer, > on a debian stable new installation, changing the JAVA_HOME property in > /etc/default/tomcat9 does not work, i.e. the java used is the default one. > In order to set a non default JAVA_HOME I had to add the lines: > > [Service} > Environment="JAVA_HOME=/usr/lib/jvm/adoptopenjdk-8-hotspot-amd64" > > in its override file, i.e. > /etc/systemd/system/tomcat9.service.d/00_javahome.conf .
Hi Giuseppe, This was fixed in the version 9.0.40-1 of the package. You can get it from buster-backports. Emmanuel Bourg