Created
April 11, 2016 02:05
-
-
Save jampola/0073b8d14dc8d8a3668e716bed44cf9f to your computer and use it in GitHub Desktop.
Update Java Alternatives (Debian)
This file contains 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
Download/tar xvfz oracle java (somewhere like /opt/java is fine) | |
# update-alternatives --install /usr/bin/java java /path/to/oracle/install/java 1000 | |
# update-alternatives --install /usr/bin/javac javac /path/to/oracle/install/javac 1000 | |
# update-alternatives --config java | |
# update-alternatives --config javac | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment