📜  设置 java 主路径 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:53.782000             🧑  作者: Mango

代码示例1
export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64

# Add JAVA bin directory to the PATH variable
export PATH=$PATH:$JAVA_HOME/bin