Сообщение об ошибке:
/ usr / local / apache -tomcat-8.5.39 / bin / catalina. sh: строка 517: / usr / lib / jvm / java -1.8.0-openjdk-1.8.0.242.b08-0.el7_7.x86_64 / bin / javac / bin / java: не каталог
/ etc / profile:
JAVA_HOME = /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.242.b08-0.el7_7.x86_64/bin/javac
JAVA_VARIABLE_I_MADE = /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.242.b08-0.el7_7.x86_64
CATALINA_HOME = /usr/local/apache-tomcat-8.5.39
CLASSPATH = .:$JAVA_VARIABLE_I_MADE/lib/tools.jar:$CATALINA_HOME/lib/jsp-api.jar:$CATALINA_HOME/lib/servlet-api.jar
PATH = $PATH:$JAVA_HOME:$CATALINA_HOME/bin
export JAVA_HOME CLASSPATH PATH CATALINA_HOME JAVA_VARIABLE_I_MADE
Моя переменная JAVA_HOME не содержит / bin / java
picture1 - / etc / profile picture2 - сообщение об ошибке