vi/etc/profile.d/java.sh

JAVA_HOME=/root/jdk1.8.0_251
PATH=$JAVA_HOME/bin:/root/apache-maven-3.6.3/bin:$PATH
CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar

source /etc/profile

标签: none

添加新评论