标签:profile tps 环境变量配置 mic col jdk rip 配置 linu
cd /home
mkdir soft
tar -zxvf server-jre-8u191-linux-x64.tar.gz
chown root:root -R /home/soft/jdk1.8.0_191/
vi /etc/profile
进入编辑模式在文件中尾处添加:
export JAVA_HOME=/home/soft/jdk1.8.0_191
export JRE_HOME=${JAVA_HOME}/jre
export CLASSPATH=.:${JAVA_HOME}/lib:${JRE_HOME}/lib
export PATH=${JAVA_HOME}/bin:$PATH
source /etc/profile (重置环境变量,使得修改生效)
链接:https://share.weiyun.com/eGdraIMa 密码:f0y0ce
标签:profile tps 环境变量配置 mic col jdk rip 配置 linu
原文地址:https://www.cnblogs.com/xuewudao/p/12924662.html