Home 如何给Tomcat指定JDK和JRE
Post
Cancel

如何给Tomcat指定JDK和JRE

在Tomcat安装目录下的bin目录下找到setclasspath.sh,在最开始添加以下代码

1
2
export JAVA_HOME="/home/jdk-1.8"
export JRE_HOME="/home/jdk-1.8/jre"
This post is licensed under CC BY 4.0 by the author.