大家好我在centos6.5 linux安装jdk配置jdk时/CLASSPATH.:/jdk1
发布网友
发布时间:2022-02-26 09:47
我来回答
共1个回答
热心网友
时间:2022-02-26 11:17
应该没有关系。
下面是Java1.7的环境配置,参考。是另两个Jar。运行良好。尝试一下。这里设置两个Tomcat实例。
NGINX_HOME="/usr/loca/nginx"
JAVA_HOME="/usr/local/java"
CLASS_PATH="/usr/local/java/lib/tool.jar:/usr/local/java/jre/lib/dt.jar"
export NGINX_HOME JAVA_HOME CLASS_PATH
CATALINA_HOME="/usr/local/tomcat"
CATALINA_BASE="/usr/local/tomcat"
export CATALINA_HOME CATALINA_BASE
#CATALINA_1_HOME="/usr/local/tomcat1"
#CATALINA_1_BASE="/usr/local/tomcat1"
#export CATALINA_1_HOME CATALINA_1_BASE
TOMCAT_HOME="/usr/local/tomcat"
export TOMCAT_HOME
#TOMCAT_1_HOME="/usr/local/tomcat1"
#export TOMCAT_1_HOME
PATH=".:/usr/local/mysql/bin:/usr/local/nginx/sbin:/usr/local/php/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/root/bin:/bin
:/bin:/sbin:/usr/local/go/bin:"
export PATH