Do not run the locate-java.sh script.

This commit is contained in:
Andrea Dell'Amico 2024-08-02 14:17:58 +02:00
parent 547e22acd2
commit 891d457958
Signed by: adellam
GPG Key ID: 147ABE6CEB9E20FF
1 changed files with 2 additions and 2 deletions

View File

@ -8,8 +8,8 @@ set -e
# Load the service settings
. /etc/default/tomcat-instance-{{ item.http_port }}
# Find the Java runtime and set JAVA_HOME
. /usr/libexec/tomcat{{ tomcat_version }}/tomcat-locate-java.sh
# We set JAVA_HOME in /etc/default/tomcat-instance-{{ item.http_port }}
# . /usr/libexec/tomcat{{ tomcat_version }}/tomcat-locate-java.sh
# Set the JSP compiler if configured in the /etc/default/tomcat10 file
[ -n "$JSP_COMPILER" ] && JAVA_OPTS="$JAVA_OPTS -Dbuild.compiler=\"$JSP_COMPILER\""