Created
November 1, 2012 03:08
-
-
Save aeroevan/3991400 to your computer and use it in GitHub Desktop.
update-alternatives for java
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
update-alternatives --install /usr/bin/java java /usr/java/jdk1.6.0_38/jre/bin/java 1 --slave /usr/bin/rmid rmid /usr/java/jdk1.6.0_38/jre/bin/rmid --slave /usr/bin/keytool keytool /usr/java/jdk1.6.0_38/jre/bin/keytool --slave /usr/bin/orbd orbd /usr/java/jdk1.6.0_38/jre/bin/orbd --slave /usr/bin/policytool policytool /usr/java/jdk1.6.0_38/jre/bin/policytool --slave /usr/bin/rmiregistry rmiregistry /usr/java/jdk1.6.0_38/jre/bin/rmiregistry --slave /usr/bin/servertool servertool /usr/java/jdk1.6.0_38/jre/bin/servertool --slave /usr/bin/tnameserv tnameserv /usr/java/jdk1.6.0_38/jre/bin/tnameserv |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment