Last active
July 19, 2019 03:20
-
-
Save wellingtonpgp/48fc1f914464798ba0fb17ae7d828fd0 to your computer and use it in GitHub Desktop.
Configs Java Dir Linux
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
sudo update-alternatives --install "usr/bin/java" "java" "/home/<user>/dev/jdk8/bin/java" 1 | |
sudo update-alternatives --install "usr/bin/javac" "javac" "/home/<user>/dev/jdk8/bin/javac" 1 | |
sudo update-alternatives --install "usr/bin/javaws" "javaws" "/home/<user>/dev/jdk8/bin/javaws" 1 | |
sudo update-alternatives --config java | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment