/geoserver/bin/startup.sh修改这个启动文件的配置 # Guard against misconfigured JAVA_HOMEif[ -n"${JAVA_HOME:-}"] && [ ! -x"${JAVA_HOME}/bin/java"];thenecho"The JAVA_HOME environment variable is set but JAVA_HOME/bin/java"echo"is missing or not executable:"echo" JAVA_HOME=${JAVA_H...
elif [ -n "$(command -v java)" ]; then _RUNJAVA=java else echo "A Java runtime (java) was not found in JAVA_HOME/bin or on the PATH." echo "Please either set the JAVA_HOME environment variable so that the Java runtime" echo "is JAVA_HOME/bin/java or add the Java runtime ...