Created
June 15, 2021 06:21
-
-
Save merlinxcy/3232865672aac3da47db9c94bc1c2871 to your computer and use it in GitHub Desktop.
Ubuntu中设置JAVA_HOME路径
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export JAVA_HOME=/usr/lib/jvm/jdk-13 | |
| export JRE_HOME=${JAVA_HOME}/jre | |
| export CLASSPATH=.:${JAVA_HOME}/lib:${JRE_HOME}/lib | |
| export PATH=${JAVA_HOME}/bin:$PATH |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment