REH LINUX AS4 JVM环境配置

启动环境变量配置
配置文件: /etc/profile
unset pathmunge
#在原来配置下面加自己需求的配置
PATH="/usr/local/jdk/bin:/usr/local/jdk/jre:$PATH"
#":PATH"必须要,多个路径用":"冒号分开
#jdk配置
JAVA_HOME =/usr/local/jdk
export JAVA_HOME
JRE-HOME =/usr/local/jdk/jre
export JRE_HOME
CLASSPATH =/usr/local/jdk/lib:/usr/local/jre/lib
export CLASSPATH

你可能感兴趣的:(java,jvm,jdk,linux)