ubuntu环境变量配置

#jdk
export JAVA_HOME=/home/gavin/app/jdk-11.0.2
export JRE_HOME=${JAVA_HOME}/jre
export CLASSPATH=.:%{JAVA_HOME}/lib:%{JRE_HOME}/lib
export PATH=${JAVA_HOME}/bin:$PATH

#tomcat
export M2_HOME=/home/gavin/app/apache-maven-3.6.0
export PATH=${M2_HOME}/bin:$PATH

#tomcat
export TOMCAT_HOME=/home/gavin/app/apache-tomcat-9.0.37


#node
#export NODE_HOME=/opt/node-v12.18.3-linux-x64
#export PATH=$PATH:$NODE_HOME/bin

你可能感兴趣的:(ubuntu环境变量配置)