Do not run the locate-java.sh script.
This commit is contained in:
parent
547e22acd2
commit
891d457958
|
@ -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\""
|
||||
|
|
Loading…
Reference in New Issue