Created
November 17, 2010 19:28
-
-
Save bigtoast/703897 to your computer and use it in GitHub Desktop.
jrockit ubuntu
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
path to jrockit /usr/lib/jvm/java-6-jrmc4 | |
then use | |
sudo update-java-alternatives -l or -s to select your version of java | |
sudo update-alternatives --install /usr/bin/appletviewer appletviewer /usr/lib/jvm/java-6-jrmc4/bin/appletviewer 64 | |
sudo update-alternatives --install /usr/bin/apt apt /usr/lib/jvm/java-6-jrmc4/bin/apt 64 | |
sudo update-alternatives --install /usr/bin/extcheck extcheck /usr/lib/jvm/java-6-jrmc4/bin/extcheck 64 | |
sudo update-alternatives --install /usr/bin/idlj idlj /usr/lib/jvm/java-6-jrmc4/bin/idlj 64 | |
sudo update-alternatives --install /usr/bin/jarsigner jarsigner /usr/lib/jvm/java-6-jrmc4/bin/jarsigner 64 | |
sudo update-alternatives --install /usr/bin/javac javac /usr/lib/jvm/java-6-jrmc4/bin/javac 64 | |
sudo update-alternatives --install /usr/bin/javadoc javadoc /usr/lib/jvm/java-6-jrmc4/bin/javadoc 64 | |
sudo update-alternatives --install /usr/bin/javah javah /usr/lib/jvm/java-6-jrmc4/bin/javah 64 | |
sudo update-alternatives --install /usr/bin/javap javap /usr/lib/jvm/java-6-jrmc4/bin/javap 64 | |
sudo update-alternatives --install /usr/bin/java-rmi.cgi java-rmi.cgi /usr/lib/jvm/java-6-jrmc4/bin/java-rmi.cgi 64 | |
sudo update-alternatives --install /usr/bin/jconsole jconsole /usr/lib/jvm/java-6-jrmc4/bin/jconsole 64 | |
sudo update-alternatives --install /usr/bin/jdb jdb /usr/lib/jvm/java-6-jrmc4/bin/jdb 64 | |
sudo update-alternatives --install /usr/bin/jps jps /usr/lib/jvm/java-6-jrmc4/bin/jps 64 | |
sudo update-alternatives --install /usr/bin/jrunscript jrunscript /usr/lib/jvm/java-6-jrmc4/bin/jrunscript 64 | |
sudo update-alternatives --install /usr/bin/jstat jstat /usr/lib/jvm/java-6-jrmc4/bin/jstat 64 | |
sudo update-alternatives --install /usr/bin/jstatd jstatd /usr/lib/jvm/java-6-jrmc4/bin/jstatd 64 | |
sudo update-alternatives --install /usr/bin/native2ascii native2ascii /usr/lib/jvm/java-6-jrmc4/bin/native2ascii 64 | |
sudo update-alternatives --install /usr/bin/rmic rmic /usr/lib/jvm/java-6-jrmc4/bin/rmic 64 | |
sudo update-alternatives --install /usr/bin/schemagen schemagen /usr/lib/jvm/java-6-jrmc4/bin/schemagen 64 | |
sudo update-alternatives --install /usr/bin/serialver serialver /usr/lib/jvm/java-6-jrmc4/bin/serialver 64 | |
sudo update-alternatives --install /usr/bin/wsgen wsgen /usr/lib/jvm/java-6-jrmc4/bin/wsgen 64 | |
sudo update-alternatives --install /usr/bin/wsimport wsimport /usr/lib/jvm/java-6-jrmc4/bin/wsimport 64 | |
sudo update-alternatives --install /usr/bin/xjc xjc /usr/lib/jvm/java-6-jrmc4/bin/xjc 64 | |
sudo update-alternatives --install /usr/bin/java java /usr/lib/jvm/java-6-jrmc4/jre/bin/java 64 | |
sudo update-alternatives --install /usr/bin/keytool keytool /usr/lib/jvm/java-6-jrmc4/jre/bin/keytool 64 | |
sudo update-alternatives --install /usr/bin/orbd orbd /usr/lib/jvm/java-6-jrmc4/jre/bin/orbd 64 | |
sudo update-alternatives --install /usr/bin/pack200 pack200 /usr/lib/jvm/java-6-jrmc4/jre/bin/pack200 64 | |
sudo update-alternatives --install /usr/bin/policytool policytool /usr/lib/jvm/java-6-jrmc4/jre/bin/policytool 64 | |
sudo update-alternatives --install /usr/bin/rmid rmid /usr/lib/jvm/java-6-jrmc4/jre/bin/rmid 64 | |
sudo update-alternatives --install /usr/bin/servertool servertool /usr/lib/jvm/java-6-jrmc4/jre/bin/servertool 64 | |
sudo update-alternatives --install /usr/bin/tnameserv tnameserv /usr/lib/jvm/java-6-jrmc4/jre/bin/tnameserv 64 | |
sudo update-alternatives --install /usr/bin/unpack200 unpack200 /usr/lib/jvm/java-6-jrmc4/jre/bin/unpack200 64 | |
sudo update-alternatives --set appletviewer /usr/lib/jvm/java-6-jrmc4/bin/appletviewer | |
sudo update-alternatives --set apt /usr/lib/jvm/java-6-jrmc4/bin/apt | |
sudo update-alternatives --set extcheck /usr/lib/jvm/java-6-jrmc4/bin/extcheck | |
sudo update-alternatives --set idlj /usr/lib/jvm/java-6-jrmc4/bin/idlj | |
sudo update-alternatives --set jarsigner /usr/lib/jvm/java-6-jrmc4/bin/jarsigner | |
sudo update-alternatives --set javac /usr/lib/jvm/java-6-jrmc4/bin/javac | |
sudo update-alternatives --set javadoc /usr/lib/jvm/java-6-jrmc4/bin/javadoc | |
sudo update-alternatives --set javah /usr/lib/jvm/java-6-jrmc4/bin/javah | |
sudo update-alternatives --set javap /usr/lib/jvm/java-6-jrmc4/bin/javap | |
sudo update-alternatives --set java-rmi.cgi /usr/lib/jvm/java-6-jrmc4/bin/java-rmi.cgi | |
sudo update-alternatives --set jconsole /usr/lib/jvm/java-6-jrmc4/bin/jconsole | |
sudo update-alternatives --set jdb /usr/lib/jvm/java-6-jrmc4/bin/jdb | |
sudo update-alternatives --set jps /usr/lib/jvm/java-6-jrmc4/bin/jps | |
sudo update-alternatives --set jrunscript /usr/lib/jvm/java-6-jrmc4/bin/jrunscript | |
sudo update-alternatives --set jstat /usr/lib/jvm/java-6-jrmc4/bin/jstat | |
sudo update-alternatives --set jstatd /usr/lib/jvm/java-6-jrmc4/bin/jstatd | |
sudo update-alternatives --set native2ascii /usr/lib/jvm/java-6-jrmc4/bin/native2ascii | |
sudo update-alternatives --set rmic /usr/lib/jvm/java-6-jrmc4/bin/rmic | |
sudo update-alternatives --set schemagen /usr/lib/jvm/java-6-jrmc4/bin/schemagen | |
sudo update-alternatives --set serialver /usr/lib/jvm/java-6-jrmc4/bin/serialver | |
sudo update-alternatives --set wsgen /usr/lib/jvm/java-6-jrmc4/bin/wsgen | |
sudo update-alternatives --set wsimport /usr/lib/jvm/java-6-jrmc4/bin/wsimport | |
sudo update-alternatives --set xjc /usr/lib/jvm/java-6-jrmc4/bin/xjc | |
sudo update-alternatives --set java /usr/lib/jvm/java-6-jrmc4/jre/bin/java | |
sudo update-alternatives --set keytool /usr/lib/jvm/java-6-jrmc4/jre/bin/keytool | |
sudo update-alternatives --set orbd /usr/lib/jvm/java-6-jrmc4/jre/bin/orbd | |
sudo update-alternatives --set pack200 /usr/lib/jvm/java-6-jrmc4/jre/bin/pack200 | |
sudo update-alternatives --set policytool /usr/lib/jvm/java-6-jrmc4/jre/bin/policytool | |
sudo update-alternatives --set rmid /usr/lib/jvm/java-6-jrmc4/jre/bin/rmid | |
sudo update-alternatives --set servertool /usr/lib/jvm/java-6-jrmc4/jre/bin/servertool | |
sudo update-alternatives --set tnameserv /usr/lib/jvm/java-6-jrmc4/jre/bin/tnameserv | |
sudo update-alternatives --set unpack200 /usr/lib/jvm/java-6-jrmc4/jre/bin/unpack200 | |
sudo update-alternatives --install /usr/bin/jar jar /usr/lib/jvm/java-6-jrmc4/bin/jar 64 | |
sudo update-alternatives --install /usr/bin/rmiregistry rmiregistry /usr/lib/jvm/java-6-jrmc4/jre/bin/rmiregistry 64 | |
sudo update-alternatives --set jar /usr/lib/jvm/java-6-jrmc4/bin/jar | |
sudo update-alternatives --set rmiregistry /usr/lib/jvm/java-6-jrmc4/jre/bin/rmiregistry |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment