IDEMPIERE-5967 - prerequisite for java 17 (#2276)

This commit is contained in:
Carlos Ruiz 2024-03-19 17:05:29 +01:00
parent 2f0baacfa0
commit e2d6197da4
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ esac
IDEMPIERE_USER=idempiere
IDEMPIERE_HOME=/opt/idempiere-server
# in case you manual install java by use zip or your linux distros, or your java provider have difference pattern of path, please update here
JAVA_HOME=$(ls -r /usr/lib/jvm/java-1[1234]-openjdk*/bin/javac | head -1)
JAVA_HOME=$(ls -r /usr/lib/jvm/java-1[7]-openjdk*/bin/javac | head -1)
JAVA_HOME=$(dirname $( dirname "$JAVA_HOME") )
SU=su
export IDEMPIERE_HOME