Script to automatically install java!

Joe Crawford joetainment at gmail.com
Mon Jan 17 05:49:18 CST 2005


Script to automatically install java!

I wrote this script to automatically install sun java from the internet.

It probably doesn't need all the update-alternatives... not sure which
are needed.

Its worked great for me though. Lets me run azureus and other java
dependent stuff.

It depends on lynx, the browser, to get the file, but requires no interaction.


#!/bin/sh


####Add Debian Java Stuff####
apt-get update
apt-get install lynx kaffe equivs java-common java2-common

####Download Java#####
cd /root/
mkdir javaInstaller
cd javaInstaller
pwd


echo Downloading Java...  please wait...

rm jdk.bin
lynx -dump http://jdl.sun.com/webapps/download/AutoDL?BundleId=9807|cat
> /root/javaInstaller/jdk.bin

chmod 777 jdk.bin
./jdk.bin

mv j2* jdk
mv jdk /usr/local/lib/jdk



###Add Java paths to environment#####
echo JAVA_HOME=\"/usr/local/lib/jdk\" >> /etc/environment
echo JDK_HOME=\"\$\{JAVA_HOME\}\" >> /etc/environment
echo PATH=\"\$\{JAVA_HOME\}\/bin\:\$\{PATH\}\" >> /etc/environment


####cONFIGURE mOZILLA

ln -s /usr/local/lib/jdk/jre/plugin/i386/ns610-gcc32/libjavaplugin_oji.so \
/usr/lib/mozilla-firefox/plugins/libjavaplugin_oji.so

ln -s /usr/local/lib/jdk/jre/plugin/i386/ns610-gcc32/libjavaplugin_oji.so \
/usr/lib/mozilla/plugins/libjavaplugin_oji.so




###Make Dummy Packages######


#This script makes dummy packages
mkdir javaDummyPkg
cd javaDummyPkg
cp /usr/share/doc/java-common/dummy-packages/*.control /var/install/java/pkg/
equivs-build java-compiler-dummy.control
equivs-build java-virtual-machine-dummy.control
equivs-build java2-runtime-dummy.control
equivs-build java2-compiler-dummy.control

# You should now have 5 packages in /var/install/java/pkg. Install
them with dpkg:

dpkg -i java-compiler-dummy_1.0_all.deb
java-virtual-machine-dummy_1.0_all.deb
java2-compiler-dummy_1.0_all.deb java2-runtime-dummy_1.0_all.deb



#################update alternatives#######

update-alternatives --verbose --install /usr/bin/appletviewer
appletviewer /usr/local/lib/jdk/bin/appletviewer 500 --slave
/usr/share/man/man1/appletviewer.1 appletviewer.1 
/usr/local/lib/jdk/man/man1/appletviewer.1
   
update-alternatives --verbose --install /usr/bin/ControlPanel
ControlPanel /usr/local/lib/jdk/bin/ControlPanel 500
                                                       
update-alternatives --verbose --install /usr/bin/extcheck extcheck
/usr/local/lib/jdk/bin/extcheck 500 --slave
/usr/share/man/man1/extcheck.1 extcheck.1
/usr/local/lib/jdk/man/man1/extcheck.1

update-alternatives --verbose --install /usr/bin/HtmlConverter
HtmlConverter /usr/local/lib/jdk/bin/HtmlConverter 500

update-alternatives --verbose --install /usr/bin/idlj idlj
/usr/local/lib/jdk/bin/idlj 500 --slave /usr/share/man/man1/idlj.1
idlj.1 /usr/local/lib/jdk/man/man1/idlj.1

update-alternatives --verbose --install /usr/bin/jar jar
/usr/local/lib/jdk/bin/jar 500 --slave /usr/share/man/man1/jar.1 jar.1
/usr/local/lib/jdk/man/man1/jar.1
   
update-alternatives --verbose --install /usr/bin/jarsigner jarsigner
/usr/local/lib/jdk/bin/jarsigner 500 --slave
/usr/share/man/man1/jarsigner.1 jarsigner.1 
/usr/local/lib/jdk/man/man1/jarsigner.1

update-alternatives --verbose --install /usr/bin/java java
/usr/local/lib/jdk/bin/java 500 --slave /usr/share/man/man1/java.1
java.1 /usr/local/lib/jdk/man/man1/java.1

update-alternatives --verbose --install /usr/bin/javac javac
/usr/local/lib/jdk/bin/javac 500 --slave /usr/share/man/man1/javac.1
javac.1 /usr/local/lib/jdk/man/man1/javac.1
   
update-alternatives --verbose --install /usr/bin/javadoc javadoc
/usr/local/lib/jdk/bin/javadoc 500 --slave
/usr/share/man/man1/javadoc.1 javadoc.1
/usr/local/lib/jdk/man/man1/javadoc.1
   
update-alternatives --verbose --install /usr/bin/javah javah
/usr/local/lib/jdk/bin/javah 500 --slave /usr/share/man/man1/javah.1
javah.1 /usr/local/lib/jdk/man/man1/javah.1
   
update-alternatives --verbose --install /usr/bin/javakey javakey 
/usr/local/lib/jdk/bin/keytool 500 --slave
/usr/share/man/man1/javakey.1 javakey.1
/usr/local/lib/jdk/man/man1/keytool.1
   
update-alternatives --verbose --install /usr/bin/javap javap
/usr/local/lib/jdk/bin/javap 500 --slave /usr/share/man/man1/javap.1
javap.1 /usr/local/lib/jdk/man/man1/javap.1
   
update-alternatives --verbose --install /usr/bin/java-rmi.cgi
java-rmi.cgi /usr/local/lib/jdk/bin/java-rmi.cgi 500
   
update-alternatives --verbose --install /usr/bin/jdb jdb
/usr/local/lib/jdk/bin/jdb 500 --slave /usr/share/man/man1/jdb.1 jdb.1
/usr/local/lib/jdk/man/man1/jdb.1
                                  
update-alternatives --verbose --install /usr/bin/keytool keytool
/usr/local/lib/jdk/bin/keytool 500 --slave
/usr/share/man/man1/keytool.1 keytool.1
/usr/local/lib/jdk/man/man1/keytool.1
   
update-alternatives --verbose --install /usr/bin/kinit kinit
/usr/local/lib/jdk/bin/kinit 500
                                   
update-alternatives --verbose --install /usr/bin/klist klist
/usr/local/lib/jdk/bin/klist 500
   
update-alternatives --verbose --install /usr/bin/ktab ktab
/usr/local/lib/jdk/bin/ktab 500
   
update-alternatives --verbose --install /usr/bin/native2ascii
native2ascii /usr/local/lib/jdk/bin/native2ascii 500 --slave 
/usr/share/man/man1/native2ascii.1 native2ascii.1
/usr/local/lib/jdk/man/man1/native2ascii.1

update-alternatives --verbose --install /usr/bin/orbd orbd 
/usr/local/lib/jdk/bin/orbd 500 --slave /usr/share/man/man1/orbd.1
orbd.1 /usr/local/lib/jdk/man/man1/orbd.1
   
update-alternatives --verbose --install /usr/bin/policytool policytool
 /usr/local/lib/jdk/bin/policytool 500 --slave
/usr/share/man/man1/policytool.1 policytool.1 
/usr/local/lib/jdk/man/man1/policytool.1
   
update-alternatives --verbose --install /usr/bin/rmic rmic
/usr/local/lib/jdk/bin/rmic 500 --slave /usr/share/man/man1/rmic.1
rmic.1   /usr/local/lib/jdk/man/man1/rmic.1
   
update-alternatives --verbose --install /usr/bin/rmid rmid
/usr/local/lib/jdk/bin/rmid 500 --slave /usr/share/man/man1/rmid.1
rmid.1  /usr/local/lib/jdk/man/man1/rmid.1

update-alternatives --verbose --install /usr/bin/rmiregistry
rmiregistry  /usr/local/lib/jdk/bin/rmiregistry 500 --slave 
/usr/share/man/man1/rmiregistry.1 rmiregistry.1 
/usr/local/lib/jdk/man/man1/rmiregistry.1
   
update-alternatives --verbose --install /usr/bin/serialver serialver 
/usr/local/lib/jdk/bin/serialver 500 --slave 
/usr/share/man/man1/serialver.1 serialver.1 
/usr/local/lib/jdk/man/man1/serialver.1

update-alternatives --verbose --install /usr/bin/servertool servertool
  /usr/local/lib/jdk/bin/servertool 500 --slave 
/usr/share/man/man1/servertool.1 servertool.1  
/usr/local/lib/jdk/man/man1/servertool.1
   
update-alternatives --verbose --install /usr/bin/tnameserv tnameserv 
/usr/local/lib/jdk/bin/tnameserv 500 --slave 
/usr/share/man/man1/tnameserv.1 tnameserv.1 
/usr/local/lib/jdk/man/man1/tnameserv.1
#!/bin/sh

update-alternatives --verbose --install /usr/bin/appletviewer
appletviewer /usr/local/lib/jdk/bin/appletviewer 500 --slave
/usr/share/man/man1/appletviewer.1 appletviewer.1 
/usr/local/lib/jdk/man/man1/appletviewer.1
   
update-alternatives --verbose --install /usr/bin/ControlPanel
ControlPanel /usr/local/lib/jdk/bin/ControlPanel 500
                                                       
update-alternatives --verbose --install /usr/bin/extcheck extcheck
/usr/local/lib/jdk/bin/extcheck 500 --slave
/usr/share/man/man1/extcheck.1 extcheck.1
/usr/local/lib/jdk/man/man1/extcheck.1

update-alternatives --verbose --install /usr/bin/HtmlConverter
HtmlConverter /usr/local/lib/jdk/bin/HtmlConverter 500

update-alternatives --verbose --install /usr/bin/idlj idlj
/usr/local/lib/jdk/bin/idlj 500 --slave /usr/share/man/man1/idlj.1
idlj.1 /usr/local/lib/jdk/man/man1/idlj.1

update-alternatives --verbose --install /usr/bin/jar jar
/usr/local/lib/jdk/bin/jar 500 --slave /usr/share/man/man1/jar.1 jar.1
/usr/local/lib/jdk/man/man1/jar.1
   
update-alternatives --verbose --install /usr/bin/jarsigner jarsigner
/usr/local/lib/jdk/bin/jarsigner 500 --slave
/usr/share/man/man1/jarsigner.1 jarsigner.1 
/usr/local/lib/jdk/man/man1/jarsigner.1

update-alternatives --verbose --install /usr/bin/java java
/usr/local/lib/jdk/bin/java 500 --slave /usr/share/man/man1/java.1
java.1 /usr/local/lib/jdk/man/man1/java.1

update-alternatives --verbose --install /usr/bin/javac javac
/usr/local/lib/jdk/bin/javac 500 --slave /usr/share/man/man1/javac.1
javac.1 /usr/local/lib/jdk/man/man1/javac.1
   
update-alternatives --verbose --install /usr/bin/javadoc javadoc
/usr/local/lib/jdk/bin/javadoc 500 --slave
/usr/share/man/man1/javadoc.1 javadoc.1
/usr/local/lib/jdk/man/man1/javadoc.1
   
update-alternatives --verbose --install /usr/bin/javah javah
/usr/local/lib/jdk/bin/javah 500 --slave /usr/share/man/man1/javah.1
javah.1 /usr/local/lib/jdk/man/man1/javah.1
   
update-alternatives --verbose --install /usr/bin/javakey javakey 
/usr/local/lib/jdk/bin/keytool 500 --slave
/usr/share/man/man1/javakey.1 javakey.1
/usr/local/lib/jdk/man/man1/keytool.1
   
update-alternatives --verbose --install /usr/bin/javap javap
/usr/local/lib/jdk/bin/javap 500 --slave /usr/share/man/man1/javap.1
javap.1 /usr/local/lib/jdk/man/man1/javap.1
   
update-alternatives --verbose --install /usr/bin/java-rmi.cgi
java-rmi.cgi /usr/local/lib/jdk/bin/java-rmi.cgi 500
   
update-alternatives --verbose --install /usr/bin/jdb jdb
/usr/local/lib/jdk/bin/jdb 500 --slave /usr/share/man/man1/jdb.1 jdb.1
/usr/local/lib/jdk/man/man1/jdb.1
                                  
update-alternatives --verbose --install /usr/bin/keytool keytool
/usr/local/lib/jdk/bin/keytool 500 --slave
/usr/share/man/man1/keytool.1 keytool.1
/usr/local/lib/jdk/man/man1/keytool.1
   
update-alternatives --verbose --install /usr/bin/kinit kinit
/usr/local/lib/jdk/bin/kinit 500
                                   
update-alternatives --verbose --install /usr/bin/klist klist
/usr/local/lib/jdk/bin/klist 500
   
update-alternatives --verbose --install /usr/bin/ktab ktab
/usr/local/lib/jdk/bin/ktab 500
   
update-alternatives --verbose --install /usr/bin/native2ascii
native2ascii /usr/local/lib/jdk/bin/native2ascii 500 --slave 
/usr/share/man/man1/native2ascii.1 native2ascii.1
/usr/local/lib/jdk/man/man1/native2ascii.1

update-alternatives --verbose --install /usr/bin/orbd orbd 
/usr/local/lib/jdk/bin/orbd 500 --slave /usr/share/man/man1/orbd.1
orbd.1 /usr/local/lib/jdk/man/man1/orbd.1
   
update-alternatives --verbose --install /usr/bin/policytool policytool
 /usr/local/lib/jdk/bin/policytool 500 --slave
/usr/share/man/man1/policytool.1 policytool.1 
/usr/local/lib/jdk/man/man1/policytool.1
   
update-alternatives --verbose --install /usr/bin/rmic rmic
/usr/local/lib/jdk/bin/rmic 500 --slave /usr/share/man/man1/rmic.1
rmic.1   /usr/local/lib/jdk/man/man1/rmic.1
   
update-alternatives --verbose --install /usr/bin/rmid rmid
/usr/local/lib/jdk/bin/rmid 500 --slave /usr/share/man/man1/rmid.1
rmid.1  /usr/local/lib/jdk/man/man1/rmid.1

update-alternatives --verbose --install /usr/bin/rmiregistry
rmiregistry  /usr/local/lib/jdk/bin/rmiregistry 500 --slave 
/usr/share/man/man1/rmiregistry.1 rmiregistry.1 
/usr/local/lib/jdk/man/man1/rmiregistry.1
   
update-alternatives --verbose --install /usr/bin/serialver serialver 
/usr/local/lib/jdk/bin/serialver 500 --slave 
/usr/share/man/man1/serialver.1 serialver.1 
/usr/local/lib/jdk/man/man1/serialver.1

update-alternatives --verbose --install /usr/bin/servertool servertool
  /usr/local/lib/jdk/bin/servertool 500 --slave 
/usr/share/man/man1/servertool.1 servertool.1  
/usr/local/lib/jdk/man/man1/servertool.1
   
update-alternatives --verbose --install /usr/bin/tnameserv tnameserv 
/usr/local/lib/jdk/bin/tnameserv 500 --slave 
/usr/share/man/man1/tnameserv.1 tnameserv.1 
/usr/local/lib/jdk/man/man1/tnameserv.1
#!/bin/sh

update-alternatives --verbose --install /usr/bin/appletviewer
appletviewer /usr/local/lib/jdk/bin/appletviewer 500 --slave
/usr/share/man/man1/appletviewer.1 appletviewer.1 
/usr/local/lib/jdk/man/man1/appletviewer.1
   
update-alternatives --verbose --install /usr/bin/ControlPanel
ControlPanel /usr/local/lib/jdk/bin/ControlPanel 500
                                                       
update-alternatives --verbose --install /usr/bin/extcheck extcheck
/usr/local/lib/jdk/bin/extcheck 500 --slave
/usr/share/man/man1/extcheck.1 extcheck.1
/usr/local/lib/jdk/man/man1/extcheck.1

update-alternatives --verbose --install /usr/bin/HtmlConverter
HtmlConverter /usr/local/lib/jdk/bin/HtmlConverter 500

update-alternatives --verbose --install /usr/bin/idlj idlj
/usr/local/lib/jdk/bin/idlj 500 --slave /usr/share/man/man1/idlj.1
idlj.1 /usr/local/lib/jdk/man/man1/idlj.1

update-alternatives --verbose --install /usr/bin/jar jar
/usr/local/lib/jdk/bin/jar 500 --slave /usr/share/man/man1/jar.1 jar.1
/usr/local/lib/jdk/man/man1/jar.1
   
update-alternatives --verbose --install /usr/bin/jarsigner jarsigner
/usr/local/lib/jdk/bin/jarsigner 500 --slave
/usr/share/man/man1/jarsigner.1 jarsigner.1 
/usr/local/lib/jdk/man/man1/jarsigner.1

update-alternatives --verbose --install /usr/bin/java java
/usr/local/lib/jdk/bin/java 500 --slave /usr/share/man/man1/java.1
java.1 /usr/local/lib/jdk/man/man1/java.1

update-alternatives --verbose --install /usr/bin/javac javac
/usr/local/lib/jdk/bin/javac 500 --slave /usr/share/man/man1/javac.1
javac.1 /usr/local/lib/jdk/man/man1/javac.1
   
update-alternatives --verbose --install /usr/bin/javadoc javadoc
/usr/local/lib/jdk/bin/javadoc 500 --slave
/usr/share/man/man1/javadoc.1 javadoc.1
/usr/local/lib/jdk/man/man1/javadoc.1
   
update-alternatives --verbose --install /usr/bin/javah javah
/usr/local/lib/jdk/bin/javah 500 --slave /usr/share/man/man1/javah.1
javah.1 /usr/local/lib/jdk/man/man1/javah.1
   
update-alternatives --verbose --install /usr/bin/javakey javakey 
/usr/local/lib/jdk/bin/keytool 500 --slave
/usr/share/man/man1/javakey.1 javakey.1
/usr/local/lib/jdk/man/man1/keytool.1
   
update-alternatives --verbose --install /usr/bin/javap javap
/usr/local/lib/jdk/bin/javap 500 --slave /usr/share/man/man1/javap.1
javap.1 /usr/local/lib/jdk/man/man1/javap.1
   
update-alternatives --verbose --install /usr/bin/java-rmi.cgi
java-rmi.cgi /usr/local/lib/jdk/bin/java-rmi.cgi 500
   
update-alternatives --verbose --install /usr/bin/jdb jdb
/usr/local/lib/jdk/bin/jdb 500 --slave /usr/share/man/man1/jdb.1 jdb.1
/usr/local/lib/jdk/man/man1/jdb.1
                                  
update-alternatives --verbose --install /usr/bin/keytool keytool
/usr/local/lib/jdk/bin/keytool 500 --slave
/usr/share/man/man1/keytool.1 keytool.1
/usr/local/lib/jdk/man/man1/keytool.1
   
update-alternatives --verbose --install /usr/bin/kinit kinit
/usr/local/lib/jdk/bin/kinit 500
                                   
update-alternatives --verbose --install /usr/bin/klist klist
/usr/local/lib/jdk/bin/klist 500
   
update-alternatives --verbose --install /usr/bin/ktab ktab
/usr/local/lib/jdk/bin/ktab 500
   
update-alternatives --verbose --install /usr/bin/native2ascii
native2ascii /usr/local/lib/jdk/bin/native2ascii 500 --slave 
/usr/share/man/man1/native2ascii.1 native2ascii.1
/usr/local/lib/jdk/man/man1/native2ascii.1

update-alternatives --verbose --install /usr/bin/orbd orbd 
/usr/local/lib/jdk/bin/orbd 500 --slave /usr/share/man/man1/orbd.1
orbd.1 /usr/local/lib/jdk/man/man1/orbd.1
   
update-alternatives --verbose --install /usr/bin/policytool policytool
 /usr/local/lib/jdk/bin/policytool 500 --slave
/usr/share/man/man1/policytool.1 policytool.1 
/usr/local/lib/jdk/man/man1/policytool.1
   
update-alternatives --verbose --install /usr/bin/rmic rmic
/usr/local/lib/jdk/bin/rmic 500 --slave /usr/share/man/man1/rmic.1
rmic.1   /usr/local/lib/jdk/man/man1/rmic.1
   
update-alternatives --verbose --install /usr/bin/rmid rmid
/usr/local/lib/jdk/bin/rmid 500 --slave /usr/share/man/man1/rmid.1
rmid.1  /usr/local/lib/jdk/man/man1/rmid.1

update-alternatives --verbose --install /usr/bin/rmiregistry
rmiregistry  /usr/local/lib/jdk/bin/rmiregistry 500 --slave 
/usr/share/man/man1/rmiregistry.1 rmiregistry.1 
/usr/local/lib/jdk/man/man1/rmiregistry.1
   
update-alternatives --verbose --install /usr/bin/serialver serialver 
/usr/local/lib/jdk/bin/serialver 500 --slave 
/usr/share/man/man1/serialver.1 serialver.1 
/usr/local/lib/jdk/man/man1/serialver.1

update-alternatives --verbose --install /usr/bin/servertool servertool
  /usr/local/lib/jdk/bin/servertool 500 --slave 
/usr/share/man/man1/servertool.1 servertool.1  
/usr/local/lib/jdk/man/man1/servertool.1
   
update-alternatives --verbose --install /usr/bin/tnameserv tnameserv 
/usr/local/lib/jdk/bin/tnameserv 500 --slave 
/usr/share/man/man1/tnameserv.1 tnameserv.1 
/usr/local/lib/jdk/man/man1/tnameserv.1
#!/bin/sh

update-alternatives --verbose --install /usr/bin/appletviewer
appletviewer /usr/local/lib/jdk/bin/appletviewer 500 --slave
/usr/share/man/man1/appletviewer.1 appletviewer.1 
/usr/local/lib/jdk/man/man1/appletviewer.1
   
update-alternatives --verbose --install /usr/bin/ControlPanel
ControlPanel /usr/local/lib/jdk/bin/ControlPanel 500
                                                       
update-alternatives --verbose --install /usr/bin/extcheck extcheck
/usr/local/lib/jdk/bin/extcheck 500 --slave
/usr/share/man/man1/extcheck.1 extcheck.1
/usr/local/lib/jdk/man/man1/extcheck.1

update-alternatives --verbose --install /usr/bin/HtmlConverter
HtmlConverter /usr/local/lib/jdk/bin/HtmlConverter 500

update-alternatives --verbose --install /usr/bin/idlj idlj
/usr/local/lib/jdk/bin/idlj 500 --slave /usr/share/man/man1/idlj.1
idlj.1 /usr/local/lib/jdk/man/man1/idlj.1

update-alternatives --verbose --install /usr/bin/jar jar
/usr/local/lib/jdk/bin/jar 500 --slave /usr/share/man/man1/jar.1 jar.1
/usr/local/lib/jdk/man/man1/jar.1
   
update-alternatives --verbose --install /usr/bin/jarsigner jarsigner
/usr/local/lib/jdk/bin/jarsigner 500 --slave
/usr/share/man/man1/jarsigner.1 jarsigner.1 
/usr/local/lib/jdk/man/man1/jarsigner.1

update-alternatives --verbose --install /usr/bin/java java
/usr/local/lib/jdk/bin/java 500 --slave /usr/share/man/man1/java.1
java.1 /usr/local/lib/jdk/man/man1/java.1

update-alternatives --verbose --install /usr/bin/javac javac
/usr/local/lib/jdk/bin/javac 500 --slave /usr/share/man/man1/javac.1
javac.1 /usr/local/lib/jdk/man/man1/javac.1
   
update-alternatives --verbose --install /usr/bin/javadoc javadoc
/usr/local/lib/jdk/bin/javadoc 500 --slave
/usr/share/man/man1/javadoc.1 javadoc.1
/usr/local/lib/jdk/man/man1/javadoc.1
   
update-alternatives --verbose --install /usr/bin/javah javah
/usr/local/lib/jdk/bin/javah 500 --slave /usr/share/man/man1/javah.1
javah.1 /usr/local/lib/jdk/man/man1/javah.1
   
update-alternatives --verbose --install /usr/bin/javakey javakey 
/usr/local/lib/jdk/bin/keytool 500 --slave
/usr/share/man/man1/javakey.1 javakey.1
/usr/local/lib/jdk/man/man1/keytool.1
   
update-alternatives --verbose --install /usr/bin/javap javap
/usr/local/lib/jdk/bin/javap 500 --slave /usr/share/man/man1/javap.1
javap.1 /usr/local/lib/jdk/man/man1/javap.1
   
update-alternatives --verbose --install /usr/bin/java-rmi.cgi
java-rmi.cgi /usr/local/lib/jdk/bin/java-rmi.cgi 500
   
update-alternatives --verbose --install /usr/bin/jdb jdb
/usr/local/lib/jdk/bin/jdb 500 --slave /usr/share/man/man1/jdb.1 jdb.1
/usr/local/lib/jdk/man/man1/jdb.1
                                  
update-alternatives --verbose --install /usr/bin/keytool keytool
/usr/local/lib/jdk/bin/keytool 500 --slave
/usr/share/man/man1/keytool.1 keytool.1
/usr/local/lib/jdk/man/man1/keytool.1
   
update-alternatives --verbose --install /usr/bin/kinit kinit
/usr/local/lib/jdk/bin/kinit 500
                                   
update-alternatives --verbose --install /usr/bin/klist klist
/usr/local/lib/jdk/bin/klist 500
   
update-alternatives --verbose --install /usr/bin/ktab ktab
/usr/local/lib/jdk/bin/ktab 500
   
update-alternatives --verbose --install /usr/bin/native2ascii
native2ascii /usr/local/lib/jdk/bin/native2ascii 500 --slave 
/usr/share/man/man1/native2ascii.1 native2ascii.1
/usr/local/lib/jdk/man/man1/native2ascii.1

update-alternatives --verbose --install /usr/bin/orbd orbd 
/usr/local/lib/jdk/bin/orbd 500 --slave /usr/share/man/man1/orbd.1
orbd.1 /usr/local/lib/jdk/man/man1/orbd.1
   
update-alternatives --verbose --install /usr/bin/policytool policytool
 /usr/local/lib/jdk/bin/policytool 500 --slave
/usr/share/man/man1/policytool.1 policytool.1 
/usr/local/lib/jdk/man/man1/policytool.1
   
update-alternatives --verbose --install /usr/bin/rmic rmic
/usr/local/lib/jdk/bin/rmic 500 --slave /usr/share/man/man1/rmic.1
rmic.1   /usr/local/lib/jdk/man/man1/rmic.1
   
update-alternatives --verbose --install /usr/bin/rmid rmid
/usr/local/lib/jdk/bin/rmid 500 --slave /usr/share/man/man1/rmid.1
rmid.1  /usr/local/lib/jdk/man/man1/rmid.1

update-alternatives --verbose --install /usr/bin/rmiregistry
rmiregistry  /usr/local/lib/jdk/bin/rmiregistry 500 --slave 
/usr/share/man/man1/rmiregistry.1 rmiregistry.1 
/usr/local/lib/jdk/man/man1/rmiregistry.1
   
update-alternatives --verbose --install /usr/bin/serialver serialver 
/usr/local/lib/jdk/bin/serialver 500 --slave 
/usr/share/man/man1/serialver.1 serialver.1 
/usr/local/lib/jdk/man/man1/serialver.1

update-alternatives --verbose --install /usr/bin/servertool servertool
  /usr/local/lib/jdk/bin/servertool 500 --slave 
/usr/share/man/man1/servertool.1 servertool.1  
/usr/local/lib/jdk/man/man1/servertool.1
   
update-alternatives --verbose --install /usr/bin/tnameserv tnameserv 
/usr/local/lib/jdk/bin/tnameserv 500 --slave 
/usr/share/man/man1/tnameserv.1 tnameserv.1 
/usr/local/lib/jdk/man/man1/tnameserv.1
#!/bin/sh

update-alternatives --verbose --install /usr/bin/appletviewer
appletviewer /usr/local/lib/jdk/bin/appletviewer 500 --slave
/usr/share/man/man1/appletviewer.1 appletviewer.1 
/usr/local/lib/jdk/man/man1/appletviewer.1
   
update-alternatives --verbose --install /usr/bin/ControlPanel
ControlPanel /usr/local/lib/jdk/bin/ControlPanel 500
                                                       
update-alternatives --verbose --install /usr/bin/extcheck extcheck
/usr/local/lib/jdk/bin/extcheck 500 --slave
/usr/share/man/man1/extcheck.1 extcheck.1
/usr/local/lib/jdk/man/man1/extcheck.1

update-alternatives --verbose --install /usr/bin/HtmlConverter
HtmlConverter /usr/local/lib/jdk/bin/HtmlConverter 500

update-alternatives --verbose --install /usr/bin/idlj idlj
/usr/local/lib/jdk/bin/idlj 500 --slave /usr/share/man/man1/idlj.1
idlj.1 /usr/local/lib/jdk/man/man1/idlj.1

update-alternatives --verbose --install /usr/bin/jar jar
/usr/local/lib/jdk/bin/jar 500 --slave /usr/share/man/man1/jar.1 jar.1
/usr/local/lib/jdk/man/man1/jar.1
   
update-alternatives --verbose --install /usr/bin/jarsigner jarsigner
/usr/local/lib/jdk/bin/jarsigner 500 --slave
/usr/share/man/man1/jarsigner.1 jarsigner.1 
/usr/local/lib/jdk/man/man1/jarsigner.1

update-alternatives --verbose --install /usr/bin/java java
/usr/local/lib/jdk/bin/java 500 --slave /usr/share/man/man1/java.1
java.1 /usr/local/lib/jdk/man/man1/java.1

update-alternatives --verbose --install /usr/bin/javac javac
/usr/local/lib/jdk/bin/javac 500 --slave /usr/share/man/man1/javac.1
javac.1 /usr/local/lib/jdk/man/man1/javac.1
   
update-alternatives --verbose --install /usr/bin/javadoc javadoc
/usr/local/lib/jdk/bin/javadoc 500 --slave
/usr/share/man/man1/javadoc.1 javadoc.1
/usr/local/lib/jdk/man/man1/javadoc.1
   
update-alternatives --verbose --install /usr/bin/javah javah
/usr/local/lib/jdk/bin/javah 500 --slave /usr/share/man/man1/javah.1
javah.1 /usr/local/lib/jdk/man/man1/javah.1
   
update-alternatives --verbose --install /usr/bin/javakey javakey 
/usr/local/lib/jdk/bin/keytool 500 --slave
/usr/share/man/man1/javakey.1 javakey.1
/usr/local/lib/jdk/man/man1/keytool.1
   
update-alternatives --verbose --install /usr/bin/javap javap
/usr/local/lib/jdk/bin/javap 500 --slave /usr/share/man/man1/javap.1
javap.1 /usr/local/lib/jdk/man/man1/javap.1
   
update-alternatives --verbose --install /usr/bin/java-rmi.cgi
java-rmi.cgi /usr/local/lib/jdk/bin/java-rmi.cgi 500
   
update-alternatives --verbose --install /usr/bin/jdb jdb
/usr/local/lib/jdk/bin/jdb 500 --slave /usr/share/man/man1/jdb.1 jdb.1
/usr/local/lib/jdk/man/man1/jdb.1
                                  
update-alternatives --verbose --install /usr/bin/keytool keytool
/usr/local/lib/jdk/bin/keytool 500 --slave
/usr/share/man/man1/keytool.1 keytool.1
/usr/local/lib/jdk/man/man1/keytool.1
   
update-alternatives --verbose --install /usr/bin/kinit kinit
/usr/local/lib/jdk/bin/kinit 500
                                   
update-alternatives --verbose --install /usr/bin/klist klist
/usr/local/lib/jdk/bin/klist 500
   
update-alternatives --verbose --install /usr/bin/ktab ktab
/usr/local/lib/jdk/bin/ktab 500
   
update-alternatives --verbose --install /usr/bin/native2ascii
native2ascii /usr/local/lib/jdk/bin/native2ascii 500 --slave 
/usr/share/man/man1/native2ascii.1 native2ascii.1
/usr/local/lib/jdk/man/man1/native2ascii.1

update-alternatives --verbose --install /usr/bin/orbd orbd 
/usr/local/lib/jdk/bin/orbd 500 --slave /usr/share/man/man1/orbd.1
orbd.1 /usr/local/lib/jdk/man/man1/orbd.1
   
update-alternatives --verbose --install /usr/bin/policytool policytool
 /usr/local/lib/jdk/bin/policytool 500 --slave
/usr/share/man/man1/policytool.1 policytool.1 
/usr/local/lib/jdk/man/man1/policytool.1
   
update-alternatives --verbose --install /usr/bin/rmic rmic
/usr/local/lib/jdk/bin/rmic 500 --slave /usr/share/man/man1/rmic.1
rmic.1   /usr/local/lib/jdk/man/man1/rmic.1
   
update-alternatives --verbose --install /usr/bin/rmid rmid
/usr/local/lib/jdk/bin/rmid 500 --slave /usr/share/man/man1/rmid.1
rmid.1  /usr/local/lib/jdk/man/man1/rmid.1

update-alternatives --verbose --install /usr/bin/rmiregistry
rmiregistry  /usr/local/lib/jdk/bin/rmiregistry 500 --slave 
/usr/share/man/man1/rmiregistry.1 rmiregistry.1 
/usr/local/lib/jdk/man/man1/rmiregistry.1
   
update-alternatives --verbose --install /usr/bin/serialver serialver 
/usr/local/lib/jdk/bin/serialver 500 --slave 
/usr/share/man/man1/serialver.1 serialver.1 
/usr/local/lib/jdk/man/man1/serialver.1

update-alternatives --verbose --install /usr/bin/servertool servertool
  /usr/local/lib/jdk/bin/servertool 500 --slave 
/usr/share/man/man1/servertool.1 servertool.1  
/usr/local/lib/jdk/man/man1/servertool.1
   
update-alternatives --verbose --install /usr/bin/tnameserv tnameserv 
/usr/local/lib/jdk/bin/tnameserv 500 --slave 
/usr/share/man/man1/tnameserv.1 tnameserv.1 
/usr/local/lib/jdk/man/man1/tnameserv.1
#!/bin/sh

update-alternatives --verbose --install /usr/bin/appletviewer
appletviewer /usr/local/lib/jdk/bin/appletviewer 500 --slave
/usr/share/man/man1/appletviewer.1 appletviewer.1 
/usr/local/lib/jdk/man/man1/appletviewer.1
   
update-alternatives --verbose --install /usr/bin/ControlPanel
ControlPanel /usr/local/lib/jdk/bin/ControlPanel 500
                                                       
update-alternatives --verbose --install /usr/bin/extcheck extcheck
/usr/local/lib/jdk/bin/extcheck 500 --slave
/usr/share/man/man1/extcheck.1 extcheck.1
/usr/local/lib/jdk/man/man1/extcheck.1

update-alternatives --verbose --install /usr/bin/HtmlConverter
HtmlConverter /usr/local/lib/jdk/bin/HtmlConverter 500

update-alternatives --verbose --install /usr/bin/idlj idlj
/usr/local/lib/jdk/bin/idlj 500 --slave /usr/share/man/man1/idlj.1
idlj.1 /usr/local/lib/jdk/man/man1/idlj.1

update-alternatives --verbose --install /usr/bin/jar jar
/usr/local/lib/jdk/bin/jar 500 --slave /usr/share/man/man1/jar.1 jar.1
/usr/local/lib/jdk/man/man1/jar.1
   
update-alternatives --verbose --install /usr/bin/jarsigner jarsigner
/usr/local/lib/jdk/bin/jarsigner 500 --slave
/usr/share/man/man1/jarsigner.1 jarsigner.1 
/usr/local/lib/jdk/man/man1/jarsigner.1

update-alternatives --verbose --install /usr/bin/java java
/usr/local/lib/jdk/bin/java 500 --slave /usr/share/man/man1/java.1
java.1 /usr/local/lib/jdk/man/man1/java.1

update-alternatives --verbose --install /usr/bin/javac javac
/usr/local/lib/jdk/bin/javac 500 --slave /usr/share/man/man1/javac.1
javac.1 /usr/local/lib/jdk/man/man1/javac.1
   
update-alternatives --verbose --install /usr/bin/javadoc javadoc
/usr/local/lib/jdk/bin/javadoc 500 --slave
/usr/share/man/man1/javadoc.1 javadoc.1
/usr/local/lib/jdk/man/man1/javadoc.1
   
update-alternatives --verbose --install /usr/bin/javah javah
/usr/local/lib/jdk/bin/javah 500 --slave /usr/share/man/man1/javah.1
javah.1 /usr/local/lib/jdk/man/man1/javah.1
   
update-alternatives --verbose --install /usr/bin/javakey javakey 
/usr/local/lib/jdk/bin/keytool 500 --slave
/usr/share/man/man1/javakey.1 javakey.1
/usr/local/lib/jdk/man/man1/keytool.1
   
update-alternatives --verbose --install /usr/bin/javap javap
/usr/local/lib/jdk/bin/javap 500 --slave /usr/share/man/man1/javap.1
javap.1 /usr/local/lib/jdk/man/man1/javap.1
   
update-alternatives --verbose --install /usr/bin/java-rmi.cgi
java-rmi.cgi /usr/local/lib/jdk/bin/java-rmi.cgi 500
   
update-alternatives --verbose --install /usr/bin/jdb jdb
/usr/local/lib/jdk/bin/jdb 500 --slave /usr/share/man/man1/jdb.1 jdb.1
/usr/local/lib/jdk/man/man1/jdb.1
                                  
update-alternatives --verbose --install /usr/bin/keytool keytool
/usr/local/lib/jdk/bin/keytool 500 --slave
/usr/share/man/man1/keytool.1 keytool.1
/usr/local/lib/jdk/man/man1/keytool.1
   
update-alternatives --verbose --install /usr/bin/kinit kinit
/usr/local/lib/jdk/bin/kinit 500
                                   
update-alternatives --verbose --install /usr/bin/klist klist
/usr/local/lib/jdk/bin/klist 500
   
update-alternatives --verbose --install /usr/bin/ktab ktab
/usr/local/lib/jdk/bin/ktab 500
   
update-alternatives --verbose --install /usr/bin/native2ascii
native2ascii /usr/local/lib/jdk/bin/native2ascii 500 --slave 
/usr/share/man/man1/native2ascii.1 native2ascii.1
/usr/local/lib/jdk/man/man1/native2ascii.1

update-alternatives --verbose --install /usr/bin/orbd orbd 
/usr/local/lib/jdk/bin/orbd 500 --slave /usr/share/man/man1/orbd.1
orbd.1 /usr/local/lib/jdk/man/man1/orbd.1
   
update-alternatives --verbose --install /usr/bin/policytool policytool
 /usr/local/lib/jdk/bin/policytool 500 --slave
/usr/share/man/man1/policytool.1 policytool.1 
/usr/local/lib/jdk/man/man1/policytool.1
   
update-alternatives --verbose --install /usr/bin/rmic rmic
/usr/local/lib/jdk/bin/rmic 500 --slave /usr/share/man/man1/rmic.1
rmic.1   /usr/local/lib/jdk/man/man1/rmic.1
   
update-alternatives --verbose --install /usr/bin/rmid rmid
/usr/local/lib/jdk/bin/rmid 500 --slave /usr/share/man/man1/rmid.1
rmid.1  /usr/local/lib/jdk/man/man1/rmid.1

update-alternatives --verbose --install /usr/bin/rmiregistry
rmiregistry  /usr/local/lib/jdk/bin/rmiregistry 500 --slave 
/usr/share/man/man1/rmiregistry.1 rmiregistry.1 
/usr/local/lib/jdk/man/man1/rmiregistry.1
   
update-alternatives --verbose --install /usr/bin/serialver serialver 
/usr/local/lib/jdk/bin/serialver 500 --slave 
/usr/share/man/man1/serialver.1 serialver.1 
/usr/local/lib/jdk/man/man1/serialver.1

update-alternatives --verbose --install /usr/bin/servertool servertool
  /usr/local/lib/jdk/bin/servertool 500 --slave 
/usr/share/man/man1/servertool.1 servertool.1  
/usr/local/lib/jdk/man/man1/servertool.1
   
update-alternatives --verbose --install /usr/bin/tnameserv tnameserv 
/usr/local/lib/jdk/bin/tnameserv 500 --slave 
/usr/share/man/man1/tnameserv.1 tnameserv.1 
/usr/local/lib/jdk/man/man1/tnameserv.1
#!/bin/sh

update-alternatives --verbose --install /usr/bin/appletviewer
appletviewer /usr/local/lib/jdk/bin/appletviewer 500 --slave
/usr/share/man/man1/appletviewer.1 appletviewer.1 
/usr/local/lib/jdk/man/man1/appletviewer.1
   
update-alternatives --verbose --install /usr/bin/ControlPanel
ControlPanel /usr/local/lib/jdk/bin/ControlPanel 500
                                                       
update-alternatives --verbose --install /usr/bin/extcheck extcheck
/usr/local/lib/jdk/bin/extcheck 500 --slave
/usr/share/man/man1/extcheck.1 extcheck.1
/usr/local/lib/jdk/man/man1/extcheck.1

update-alternatives --verbose --install /usr/bin/HtmlConverter
HtmlConverter /usr/local/lib/jdk/bin/HtmlConverter 500

update-alternatives --verbose --install /usr/bin/idlj idlj
/usr/local/lib/jdk/bin/idlj 500 --slave /usr/share/man/man1/idlj.1
idlj.1 /usr/local/lib/jdk/man/man1/idlj.1

update-alternatives --verbose --install /usr/bin/jar jar
/usr/local/lib/jdk/bin/jar 500 --slave /usr/share/man/man1/jar.1 jar.1
/usr/local/lib/jdk/man/man1/jar.1
   
update-alternatives --verbose --install /usr/bin/jarsigner jarsigner
/usr/local/lib/jdk/bin/jarsigner 500 --slave
/usr/share/man/man1/jarsigner.1 jarsigner.1 
/usr/local/lib/jdk/man/man1/jarsigner.1

update-alternatives --verbose --install /usr/bin/java java
/usr/local/lib/jdk/bin/java 500 --slave /usr/share/man/man1/java.1
java.1 /usr/local/lib/jdk/man/man1/java.1

update-alternatives --verbose --install /usr/bin/javac javac
/usr/local/lib/jdk/bin/javac 500 --slave /usr/share/man/man1/javac.1
javac.1 /usr/local/lib/jdk/man/man1/javac.1
   
update-alternatives --verbose --install /usr/bin/javadoc javadoc
/usr/local/lib/jdk/bin/javadoc 500 --slave
/usr/share/man/man1/javadoc.1 javadoc.1
/usr/local/lib/jdk/man/man1/javadoc.1
   
update-alternatives --verbose --install /usr/bin/javah javah
/usr/local/lib/jdk/bin/javah 500 --slave /usr/share/man/man1/javah.1
javah.1 /usr/local/lib/jdk/man/man1/javah.1
   
update-alternatives --verbose --install /usr/bin/javakey javakey 
/usr/local/lib/jdk/bin/keytool 500 --slave
/usr/share/man/man1/javakey.1 javakey.1
/usr/local/lib/jdk/man/man1/keytool.1
   
update-alternatives --verbose --install /usr/bin/javap javap
/usr/local/lib/jdk/bin/javap 500 --slave /usr/share/man/man1/javap.1
javap.1 /usr/local/lib/jdk/man/man1/javap.1
   
update-alternatives --verbose --install /usr/bin/java-rmi.cgi
java-rmi.cgi /usr/local/lib/jdk/bin/java-rmi.cgi 500
   
update-alternatives --verbose --install /usr/bin/jdb jdb
/usr/local/lib/jdk/bin/jdb 500 --slave /usr/share/man/man1/jdb.1 jdb.1
/usr/local/lib/jdk/man/man1/jdb.1
                                  
update-alternatives --verbose --install /usr/bin/keytool keytool
/usr/local/lib/jdk/bin/keytool 500 --slave
/usr/share/man/man1/keytool.1 keytool.1
/usr/local/lib/jdk/man/man1/keytool.1
   
update-alternatives --verbose --install /usr/bin/kinit kinit
/usr/local/lib/jdk/bin/kinit 500
                                   
update-alternatives --verbose --install /usr/bin/klist klist
/usr/local/lib/jdk/bin/klist 500
   
update-alternatives --verbose --install /usr/bin/ktab ktab
/usr/local/lib/jdk/bin/ktab 500
   
update-alternatives --verbose --install /usr/bin/native2ascii
native2ascii /usr/local/lib/jdk/bin/native2ascii 500 --slave 
/usr/share/man/man1/native2ascii.1 native2ascii.1
/usr/local/lib/jdk/man/man1/native2ascii.1

update-alternatives --verbose --install /usr/bin/orbd orbd 
/usr/local/lib/jdk/bin/orbd 500 --slave /usr/share/man/man1/orbd.1
orbd.1 /usr/local/lib/jdk/man/man1/orbd.1
   
update-alternatives --verbose --install /usr/bin/policytool policytool
 /usr/local/lib/jdk/bin/policytool 500 --slave
/usr/share/man/man1/policytool.1 policytool.1 
/usr/local/lib/jdk/man/man1/policytool.1
   
update-alternatives --verbose --install /usr/bin/rmic rmic
/usr/local/lib/jdk/bin/rmic 500 --slave /usr/share/man/man1/rmic.1
rmic.1   /usr/local/lib/jdk/man/man1/rmic.1
   
update-alternatives --verbose --install /usr/bin/rmid rmid
/usr/local/lib/jdk/bin/rmid 500 --slave /usr/share/man/man1/rmid.1
rmid.1  /usr/local/lib/jdk/man/man1/rmid.1

update-alternatives --verbose --install /usr/bin/rmiregistry
rmiregistry  /usr/local/lib/jdk/bin/rmiregistry 500 --slave 
/usr/share/man/man1/rmiregistry.1 rmiregistry.1 
/usr/local/lib/jdk/man/man1/rmiregistry.1
   
update-alternatives --verbose --install /usr/bin/serialver serialver 
/usr/local/lib/jdk/bin/serialver 500 --slave 
/usr/share/man/man1/serialver.1 serialver.1 
/usr/local/lib/jdk/man/man1/serialver.1

update-alternatives --verbose --install /usr/bin/servertool servertool
  /usr/local/lib/jdk/bin/servertool 500 --slave 
/usr/share/man/man1/servertool.1 servertool.1  
/usr/local/lib/jdk/man/man1/servertool.1
   
update-alternatives --verbose --install /usr/bin/tnameserv tnameserv 
/usr/local/lib/jdk/bin/tnameserv 500 --slave 
/usr/share/man/man1/tnameserv.1 tnameserv.1 
/usr/local/lib/jdk/man/man1/tnameserv.1
#!/bin/sh

update-alternatives --verbose --install /usr/bin/appletviewer
appletviewer /usr/local/lib/jdk/bin/appletviewer 500 --slave
/usr/share/man/man1/appletviewer.1 appletviewer.1 
/usr/local/lib/jdk/man/man1/appletviewer.1
   
update-alternatives --verbose --install /usr/bin/ControlPanel
ControlPanel /usr/local/lib/jdk/bin/ControlPanel 500
                                                       
update-alternatives --verbose --install /usr/bin/extcheck extcheck
/usr/local/lib/jdk/bin/extcheck 500 --slave
/usr/share/man/man1/extcheck.1 extcheck.1
/usr/local/lib/jdk/man/man1/extcheck.1

update-alternatives --verbose --install /usr/bin/HtmlConverter
HtmlConverter /usr/local/lib/jdk/bin/HtmlConverter 500

update-alternatives --verbose --install /usr/bin/idlj idlj
/usr/local/lib/jdk/bin/idlj 500 --slave /usr/share/man/man1/idlj.1
idlj.1 /usr/local/lib/jdk/man/man1/idlj.1

update-alternatives --verbose --install /usr/bin/jar jar
/usr/local/lib/jdk/bin/jar 500 --slave /usr/share/man/man1/jar.1 jar.1
/usr/local/lib/jdk/man/man1/jar.1
   
update-alternatives --verbose --install /usr/bin/jarsigner jarsigner
/usr/local/lib/jdk/bin/jarsigner 500 --slave
/usr/share/man/man1/jarsigner.1 jarsigner.1 
/usr/local/lib/jdk/man/man1/jarsigner.1

update-alternatives --verbose --install /usr/bin/java java
/usr/local/lib/jdk/bin/java 500 --slave /usr/share/man/man1/java.1
java.1 /usr/local/lib/jdk/man/man1/java.1

update-alternatives --verbose --install /usr/bin/javac javac
/usr/local/lib/jdk/bin/javac 500 --slave /usr/share/man/man1/javac.1
javac.1 /usr/local/lib/jdk/man/man1/javac.1
   
update-alternatives --verbose --install /usr/bin/javadoc javadoc
/usr/local/lib/jdk/bin/javadoc 500 --slave
/usr/share/man/man1/javadoc.1 javadoc.1
/usr/local/lib/jdk/man/man1/javadoc.1
   
update-alternatives --verbose --install /usr/bin/javah javah
/usr/local/lib/jdk/bin/javah 500 --slave /usr/share/man/man1/javah.1
javah.1 /usr/local/lib/jdk/man/man1/javah.1
   
update-alternatives --verbose --install /usr/bin/javakey javakey 
/usr/local/lib/jdk/bin/keytool 500 --slave
/usr/share/man/man1/javakey.1 javakey.1
/usr/local/lib/jdk/man/man1/keytool.1
   
update-alternatives --verbose --install /usr/bin/javap javap
/usr/local/lib/jdk/bin/javap 500 --slave /usr/share/man/man1/javap.1
javap.1 /usr/local/lib/jdk/man/man1/javap.1
   
update-alternatives --verbose --install /usr/bin/java-rmi.cgi
java-rmi.cgi /usr/local/lib/jdk/bin/java-rmi.cgi 500
   
update-alternatives --verbose --install /usr/bin/jdb jdb
/usr/local/lib/jdk/bin/jdb 500 --slave /usr/share/man/man1/jdb.1 jdb.1
/usr/local/lib/jdk/man/man1/jdb.1
                                  
update-alternatives --verbose --install /usr/bin/keytool keytool
/usr/local/lib/jdk/bin/keytool 500 --slave
/usr/share/man/man1/keytool.1 keytool.1
/usr/local/lib/jdk/man/man1/keytool.1
   
update-alternatives --verbose --install /usr/bin/kinit kinit
/usr/local/lib/jdk/bin/kinit 500
                                   
update-alternatives --verbose --install /usr/bin/klist klist
/usr/local/lib/jdk/bin/klist 500
   
update-alternatives --verbose --install /usr/bin/ktab ktab
/usr/local/lib/jdk/bin/ktab 500
   
update-alternatives --verbose --install /usr/bin/native2ascii
native2ascii /usr/local/lib/jdk/bin/native2ascii 500 --slave 
/usr/share/man/man1/native2ascii.1 native2ascii.1
/usr/local/lib/jdk/man/man1/native2ascii.1

update-alternatives --verbose --install /usr/bin/orbd orbd 
/usr/local/lib/jdk/bin/orbd 500 --slave /usr/share/man/man1/orbd.1
orbd.1 /usr/local/lib/jdk/man/man1/orbd.1
   
update-alternatives --verbose --install /usr/bin/policytool policytool
 /usr/local/lib/jdk/bin/policytool 500 --slave
/usr/share/man/man1/policytool.1 policytool.1 
/usr/local/lib/jdk/man/man1/policytool.1
   
update-alternatives --verbose --install /usr/bin/rmic rmic
/usr/local/lib/jdk/bin/rmic 500 --slave /usr/share/man/man1/rmic.1
rmic.1   /usr/local/lib/jdk/man/man1/rmic.1
   
update-alternatives --verbose --install /usr/bin/rmid rmid
/usr/local/lib/jdk/bin/rmid 500 --slave /usr/share/man/man1/rmid.1
rmid.1  /usr/local/lib/jdk/man/man1/rmid.1

update-alternatives --verbose --install /usr/bin/rmiregistry
rmiregistry  /usr/local/lib/jdk/bin/rmiregistry 500 --slave 
/usr/share/man/man1/rmiregistry.1 rmiregistry.1 
/usr/local/lib/jdk/man/man1/rmiregistry.1
   
update-alternatives --verbose --install /usr/bin/serialver serialver 
/usr/local/lib/jdk/bin/serialver 500 --slave 
/usr/share/man/man1/serialver.1 serialver.1 
/usr/local/lib/jdk/man/man1/serialver.1

update-alternatives --verbose --install /usr/bin/servertool servertool
  /usr/local/lib/jdk/bin/servertool 500 --slave 
/usr/share/man/man1/servertool.1 servertool.1  
/usr/local/lib/jdk/man/man1/servertool.1
   
update-alternatives --verbose --install /usr/bin/tnameserv tnameserv 
/usr/local/lib/jdk/bin/tnameserv 500 --slave 
/usr/share/man/man1/tnameserv.1 tnameserv.1 
/usr/local/lib/jdk/man/man1/tnameserv.1
#!/bin/sh

update-alternatives --verbose --install /usr/bin/appletviewer
appletviewer /usr/local/lib/jdk/bin/appletviewer 500 --slave
/usr/share/man/man1/appletviewer.1 appletviewer.1 
/usr/local/lib/jdk/man/man1/appletviewer.1
   
update-alternatives --verbose --install /usr/bin/ControlPanel
ControlPanel /usr/local/lib/jdk/bin/ControlPanel 500
                                                       
update-alternatives --verbose --install /usr/bin/extcheck extcheck
/usr/local/lib/jdk/bin/extcheck 500 --slave
/usr/share/man/man1/extcheck.1 extcheck.1
/usr/local/lib/jdk/man/man1/extcheck.1

update-alternatives --verbose --install /usr/bin/HtmlConverter
HtmlConverter /usr/local/lib/jdk/bin/HtmlConverter 500

update-alternatives --verbose --install /usr/bin/idlj idlj
/usr/local/lib/jdk/bin/idlj 500 --slave /usr/share/man/man1/idlj.1
idlj.1 /usr/local/lib/jdk/man/man1/idlj.1

update-alternatives --verbose --install /usr/bin/jar jar
/usr/local/lib/jdk/bin/jar 500 --slave /usr/share/man/man1/jar.1 jar.1
/usr/local/lib/jdk/man/man1/jar.1
   
update-alternatives --verbose --install /usr/bin/jarsigner jarsigner
/usr/local/lib/jdk/bin/jarsigner 500 --slave
/usr/share/man/man1/jarsigner.1 jarsigner.1 
/usr/local/lib/jdk/man/man1/jarsigner.1

update-alternatives --verbose --install /usr/bin/java java
/usr/local/lib/jdk/bin/java 500 --slave /usr/share/man/man1/java.1
java.1 /usr/local/lib/jdk/man/man1/java.1

update-alternatives --verbose --install /usr/bin/javac javac
/usr/local/lib/jdk/bin/javac 500 --slave /usr/share/man/man1/javac.1
javac.1 /usr/local/lib/jdk/man/man1/javac.1
   
update-alternatives --verbose --install /usr/bin/javadoc javadoc
/usr/local/lib/jdk/bin/javadoc 500 --slave
/usr/share/man/man1/javadoc.1 javadoc.1
/usr/local/lib/jdk/man/man1/javadoc.1
   
update-alternatives --verbose --install /usr/bin/javah javah
/usr/local/lib/jdk/bin/javah 500 --slave /usr/share/man/man1/javah.1
javah.1 /usr/local/lib/jdk/man/man1/javah.1
   
update-alternatives --verbose --install /usr/bin/javakey javakey 
/usr/local/lib/jdk/bin/keytool 500 --slave
/usr/share/man/man1/javakey.1 javakey.1
/usr/local/lib/jdk/man/man1/keytool.1
   
update-alternatives --verbose --install /usr/bin/javap javap
/usr/local/lib/jdk/bin/javap 500 --slave /usr/share/man/man1/javap.1
javap.1 /usr/local/lib/jdk/man/man1/javap.1
   
update-alternatives --verbose --install /usr/bin/java-rmi.cgi
java-rmi.cgi /usr/local/lib/jdk/bin/java-rmi.cgi 500
   
update-alternatives --verbose --install /usr/bin/jdb jdb
/usr/local/lib/jdk/bin/jdb 500 --slave /usr/share/man/man1/jdb.1 jdb.1
/usr/local/lib/jdk/man/man1/jdb.1
                                  
update-alternatives --verbose --install /usr/bin/keytool keytool
/usr/local/lib/jdk/bin/keytool 500 --slave
/usr/share/man/man1/keytool.1 keytool.1
/usr/local/lib/jdk/man/man1/keytool.1
   
update-alternatives --verbose --install /usr/bin/kinit kinit
/usr/local/lib/jdk/bin/kinit 500
                                   
update-alternatives --verbose --install /usr/bin/klist klist
/usr/local/lib/jdk/bin/klist 500
   
update-alternatives --verbose --install /usr/bin/ktab ktab
/usr/local/lib/jdk/bin/ktab 500
   
update-alternatives --verbose --install /usr/bin/native2ascii
native2ascii /usr/local/lib/jdk/bin/native2ascii 500 --slave 
/usr/share/man/man1/native2ascii.1 native2ascii.1
/usr/local/lib/jdk/man/man1/native2ascii.1

update-alternatives --verbose --install /usr/bin/orbd orbd 
/usr/local/lib/jdk/bin/orbd 500 --slave /usr/share/man/man1/orbd.1
orbd.1 /usr/local/lib/jdk/man/man1/orbd.1
   
update-alternatives --verbose --install /usr/bin/policytool policytool
 /usr/local/lib/jdk/bin/policytool 500 --slave
/usr/share/man/man1/policytool.1 policytool.1 
/usr/local/lib/jdk/man/man1/policytool.1
   
update-alternatives --verbose --install /usr/bin/rmic rmic
/usr/local/lib/jdk/bin/rmic 500 --slave /usr/share/man/man1/rmic.1
rmic.1   /usr/local/lib/jdk/man/man1/rmic.1
   
update-alternatives --verbose --install /usr/bin/rmid rmid
/usr/local/lib/jdk/bin/rmid 500 --slave /usr/share/man/man1/rmid.1
rmid.1  /usr/local/lib/jdk/man/man1/rmid.1

update-alternatives --verbose --install /usr/bin/rmiregistry
rmiregistry  /usr/local/lib/jdk/bin/rmiregistry 500 --slave 
/usr/share/man/man1/rmiregistry.1 rmiregistry.1 
/usr/local/lib/jdk/man/man1/rmiregistry.1
   
update-alternatives --verbose --install /usr/bin/serialver serialver 
/usr/local/lib/jdk/bin/serialver 500 --slave 
/usr/share/man/man1/serialver.1 serialver.1 
/usr/local/lib/jdk/man/man1/serialver.1

update-alternatives --verbose --install /usr/bin/servertool servertool
  /usr/local/lib/jdk/bin/servertool 500 --slave 
/usr/share/man/man1/servertool.1 servertool.1  
/usr/local/lib/jdk/man/man1/servertool.1
   
update-alternatives --verbose --install /usr/bin/tnameserv tnameserv 
/usr/local/lib/jdk/bin/tnameserv 500 --slave 
/usr/share/man/man1/tnameserv.1 tnameserv.1 
/usr/local/lib/jdk/man/man1/tnameserv.1
#!/bin/sh

update-alternatives --verbose --install /usr/bin/appletviewer
appletviewer /usr/local/lib/jdk/bin/appletviewer 500 --slave
/usr/share/man/man1/appletviewer.1 appletviewer.1 
/usr/local/lib/jdk/man/man1/appletviewer.1
   
update-alternatives --verbose --install /usr/bin/ControlPanel
ControlPanel /usr/local/lib/jdk/bin/ControlPanel 500
                                                       
update-alternatives --verbose --install /usr/bin/extcheck extcheck
/usr/local/lib/jdk/bin/extcheck 500 --slave
/usr/share/man/man1/extcheck.1 extcheck.1
/usr/local/lib/jdk/man/man1/extcheck.1

update-alternatives --verbose --install /usr/bin/HtmlConverter
HtmlConverter /usr/local/lib/jdk/bin/HtmlConverter 500

update-alternatives --verbose --install /usr/bin/idlj idlj
/usr/local/lib/jdk/bin/idlj 500 --slave /usr/share/man/man1/idlj.1
idlj.1 /usr/local/lib/jdk/man/man1/idlj.1

update-alternatives --verbose --install /usr/bin/jar jar
/usr/local/lib/jdk/bin/jar 500 --slave /usr/share/man/man1/jar.1 jar.1
/usr/local/lib/jdk/man/man1/jar.1
   
update-alternatives --verbose --install /usr/bin/jarsigner jarsigner
/usr/local/lib/jdk/bin/jarsigner 500 --slave
/usr/share/man/man1/jarsigner.1 jarsigner.1 
/usr/local/lib/jdk/man/man1/jarsigner.1

update-alternatives --verbose --install /usr/bin/java java
/usr/local/lib/jdk/bin/java 500 --slave /usr/share/man/man1/java.1
java.1 /usr/local/lib/jdk/man/man1/java.1

update-alternatives --verbose --install /usr/bin/javac javac
/usr/local/lib/jdk/bin/javac 500 --slave /usr/share/man/man1/javac.1
javac.1 /usr/local/lib/jdk/man/man1/javac.1
   
update-alternatives --verbose --install /usr/bin/javadoc javadoc
/usr/local/lib/jdk/bin/javadoc 500 --slave
/usr/share/man/man1/javadoc.1 javadoc.1
/usr/local/lib/jdk/man/man1/javadoc.1
   
update-alternatives --verbose --install /usr/bin/javah javah
/usr/local/lib/jdk/bin/javah 500 --slave /usr/share/man/man1/javah.1
javah.1 /usr/local/lib/jdk/man/man1/javah.1
   
update-alternatives --verbose --install /usr/bin/javakey javakey 
/usr/local/lib/jdk/bin/keytool 500 --slave
/usr/share/man/man1/javakey.1 javakey.1
/usr/local/lib/jdk/man/man1/keytool.1
   
update-alternatives --verbose --install /usr/bin/javap javap
/usr/local/lib/jdk/bin/javap 500 --slave /usr/share/man/man1/javap.1
javap.1 /usr/local/lib/jdk/man/man1/javap.1
   
update-alternatives --verbose --install /usr/bin/java-rmi.cgi
java-rmi.cgi /usr/local/lib/jdk/bin/java-rmi.cgi 500
   
update-alternatives --verbose --install /usr/bin/jdb jdb
/usr/local/lib/jdk/bin/jdb 500 --slave /usr/share/man/man1/jdb.1 jdb.1
/usr/local/lib/jdk/man/man1/jdb.1
                                  
update-alternatives --verbose --install /usr/bin/keytool keytool
/usr/local/lib/jdk/bin/keytool 500 --slave
/usr/share/man/man1/keytool.1 keytool.1
/usr/local/lib/jdk/man/man1/keytool.1
   
update-alternatives --verbose --install /usr/bin/kinit kinit
/usr/local/lib/jdk/bin/kinit 500
                                   
update-alternatives --verbose --install /usr/bin/klist klist
/usr/local/lib/jdk/bin/klist 500
   
update-alternatives --verbose --install /usr/bin/ktab ktab
/usr/local/lib/jdk/bin/ktab 500
   
update-alternatives --verbose --install /usr/bin/native2ascii
native2ascii /usr/local/lib/jdk/bin/native2ascii 500 --slave 
/usr/share/man/man1/native2ascii.1 native2ascii.1
/usr/local/lib/jdk/man/man1/native2ascii.1

update-alternatives --verbose --install /usr/bin/orbd orbd 
/usr/local/lib/jdk/bin/orbd 500 --slave /usr/share/man/man1/orbd.1
orbd.1 /usr/local/lib/jdk/man/man1/orbd.1
   
update-alternatives --verbose --install /usr/bin/policytool policytool
 /usr/local/lib/jdk/bin/policytool 500 --slave
/usr/share/man/man1/policytool.1 policytool.1 
/usr/local/lib/jdk/man/man1/policytool.1
   
update-alternatives --verbose --install /usr/bin/rmic rmic
/usr/local/lib/jdk/bin/rmic 500 --slave /usr/share/man/man1/rmic.1
rmic.1   /usr/local/lib/jdk/man/man1/rmic.1
   
update-alternatives --verbose --install /usr/bin/rmid rmid
/usr/local/lib/jdk/bin/rmid 500 --slave /usr/share/man/man1/rmid.1
rmid.1  /usr/local/lib/jdk/man/man1/rmid.1

update-alternatives --verbose --install /usr/bin/rmiregistry
rmiregistry  /usr/local/lib/jdk/bin/rmiregistry 500 --slave 
/usr/share/man/man1/rmiregistry.1 rmiregistry.1 
/usr/local/lib/jdk/man/man1/rmiregistry.1
   
update-alternatives --verbose --install /usr/bin/serialver serialver 
/usr/local/lib/jdk/bin/serialver 500 --slave 
/usr/share/man/man1/serialver.1 serialver.1 
/usr/local/lib/jdk/man/man1/serialver.1

update-alternatives --verbose --install /usr/bin/servertool servertool
  /usr/local/lib/jdk/bin/servertool 500 --slave 
/usr/share/man/man1/servertool.1 servertool.1  
/usr/local/lib/jdk/man/man1/servertool.1
   
update-alternatives --verbose --install /usr/bin/tnameserv tnameserv 
/usr/local/lib/jdk/bin/tnameserv 500 --slave 
/usr/share/man/man1/tnameserv.1 tnameserv.1 
/usr/local/lib/jdk/man/man1/tnameserv.1
#!/bin/sh

update-alternatives --verbose --install /usr/bin/appletviewer
appletviewer /usr/local/lib/jdk/bin/appletviewer 500 --slave
/usr/share/man/man1/appletviewer.1 appletviewer.1 
/usr/local/lib/jdk/man/man1/appletviewer.1
   
update-alternatives --verbose --install /usr/bin/ControlPanel
ControlPanel /usr/local/lib/jdk/bin/ControlPanel 500
                                                       
update-alternatives --verbose --install /usr/bin/extcheck extcheck
/usr/local/lib/jdk/bin/extcheck 500 --slave
/usr/share/man/man1/extcheck.1 extcheck.1
/usr/local/lib/jdk/man/man1/extcheck.1

update-alternatives --verbose --install /usr/bin/HtmlConverter
HtmlConverter /usr/local/lib/jdk/bin/HtmlConverter 500

update-alternatives --verbose --install /usr/bin/idlj idlj
/usr/local/lib/jdk/bin/idlj 500 --slave /usr/share/man/man1/idlj.1
idlj.1 /usr/local/lib/jdk/man/man1/idlj.1

update-alternatives --verbose --install /usr/bin/jar jar
/usr/local/lib/jdk/bin/jar 500 --slave /usr/share/man/man1/jar.1 jar.1
/usr/local/lib/jdk/man/man1/jar.1
   
update-alternatives --verbose --install /usr/bin/jarsigner jarsigner
/usr/local/lib/jdk/bin/jarsigner 500 --slave
/usr/share/man/man1/jarsigner.1 jarsigner.1 
/usr/local/lib/jdk/man/man1/jarsigner.1

update-alternatives --verbose --install /usr/bin/java java
/usr/local/lib/jdk/bin/java 500 --slave /usr/share/man/man1/java.1
java.1 /usr/local/lib/jdk/man/man1/java.1

update-alternatives --verbose --install /usr/bin/javac javac
/usr/local/lib/jdk/bin/javac 500 --slave /usr/share/man/man1/javac.1
javac.1 /usr/local/lib/jdk/man/man1/javac.1
   
update-alternatives --verbose --install /usr/bin/javadoc javadoc
/usr/local/lib/jdk/bin/javadoc 500 --slave
/usr/share/man/man1/javadoc.1 javadoc.1
/usr/local/lib/jdk/man/man1/javadoc.1
   
update-alternatives --verbose --install /usr/bin/javah javah
/usr/local/lib/jdk/bin/javah 500 --slave /usr/share/man/man1/javah.1
javah.1 /usr/local/lib/jdk/man/man1/javah.1
   
update-alternatives --verbose --install /usr/bin/javakey javakey 
/usr/local/lib/jdk/bin/keytool 500 --slave
/usr/share/man/man1/javakey.1 javakey.1
/usr/local/lib/jdk/man/man1/keytool.1
   
update-alternatives --verbose --install /usr/bin/javap javap
/usr/local/lib/jdk/bin/javap 500 --slave /usr/share/man/man1/javap.1
javap.1 /usr/local/lib/jdk/man/man1/javap.1
   
update-alternatives --verbose --install /usr/bin/java-rmi.cgi
java-rmi.cgi /usr/local/lib/jdk/bin/java-rmi.cgi 500
   
update-alternatives --verbose --install /usr/bin/jdb jdb
/usr/local/lib/jdk/bin/jdb 500 --slave /usr/share/man/man1/jdb.1 jdb.1
/usr/local/lib/jdk/man/man1/jdb.1
                                  
update-alternatives --verbose --install /usr/bin/keytool keytool
/usr/local/lib/jdk/bin/keytool 500 --slave
/usr/share/man/man1/keytool.1 keytool.1
/usr/local/lib/jdk/man/man1/keytool.1
   
update-alternatives --verbose --install /usr/bin/kinit kinit
/usr/local/lib/jdk/bin/kinit 500
                                   
update-alternatives --verbose --install /usr/bin/klist klist
/usr/local/lib/jdk/bin/klist 500
   
update-alternatives --verbose --install /usr/bin/ktab ktab
/usr/local/lib/jdk/bin/ktab 500
   
update-alternatives --verbose --install /usr/bin/native2ascii
native2ascii /usr/local/lib/jdk/bin/native2ascii 500 --slave 
/usr/share/man/man1/native2ascii.1 native2ascii.1
/usr/local/lib/jdk/man/man1/native2ascii.1

update-alternatives --verbose --install /usr/bin/orbd orbd 
/usr/local/lib/jdk/bin/orbd 500 --slave /usr/share/man/man1/orbd.1
orbd.1 /usr/local/lib/jdk/man/man1/orbd.1
   
update-alternatives --verbose --install /usr/bin/policytool policytool
 /usr/local/lib/jdk/bin/policytool 500 --slave
/usr/share/man/man1/policytool.1 policytool.1 
/usr/local/lib/jdk/man/man1/policytool.1
   
update-alternatives --verbose --install /usr/bin/rmic rmic
/usr/local/lib/jdk/bin/rmic 500 --slave /usr/share/man/man1/rmic.1
rmic.1   /usr/local/lib/jdk/man/man1/rmic.1
   
update-alternatives --verbose --install /usr/bin/rmid rmid
/usr/local/lib/jdk/bin/rmid 500 --slave /usr/share/man/man1/rmid.1
rmid.1  /usr/local/lib/jdk/man/man1/rmid.1

update-alternatives --verbose --install /usr/bin/rmiregistry
rmiregistry  /usr/local/lib/jdk/bin/rmiregistry 500 --slave 
/usr/share/man/man1/rmiregistry.1 rmiregistry.1 
/usr/local/lib/jdk/man/man1/rmiregistry.1
   
update-alternatives --verbose --install /usr/bin/serialver serialver 
/usr/local/lib/jdk/bin/serialver 500 --slave 
/usr/share/man/man1/serialver.1 serialver.1 
/usr/local/lib/jdk/man/man1/serialver.1

update-alternatives --verbose --install /usr/bin/servertool servertool
  /usr/local/lib/jdk/bin/servertool 500 --slave 
/usr/share/man/man1/servertool.1 servertool.1  
/usr/local/lib/jdk/man/man1/servertool.1
   
update-alternatives --verbose --install /usr/bin/tnameserv tnameserv 
/usr/local/lib/jdk/bin/tnameserv 500 --slave 
/usr/share/man/man1/tnameserv.1 tnameserv.1 
/usr/local/lib/jdk/man/man1/tnameserv.1
#!/bin/sh

update-alternatives --verbose --install /usr/bin/appletviewer
appletviewer /usr/local/lib/jdk/bin/appletviewer 500 --slave
/usr/share/man/man1/appletviewer.1 appletviewer.1 
/usr/local/lib/jdk/man/man1/appletviewer.1
   
update-alternatives --verbose --install /usr/bin/ControlPanel
ControlPanel /usr/local/lib/jdk/bin/ControlPanel 500
                                                       
update-alternatives --verbose --install /usr/bin/extcheck extcheck
/usr/local/lib/jdk/bin/extcheck 500 --slave
/usr/share/man/man1/extcheck.1 extcheck.1
/usr/local/lib/jdk/man/man1/extcheck.1

update-alternatives --verbose --install /usr/bin/HtmlConverter
HtmlConverter /usr/local/lib/jdk/bin/HtmlConverter 500

update-alternatives --verbose --install /usr/bin/idlj idlj
/usr/local/lib/jdk/bin/idlj 500 --slave /usr/share/man/man1/idlj.1
idlj.1 /usr/local/lib/jdk/man/man1/idlj.1

update-alternatives --verbose --install /usr/bin/jar jar
/usr/local/lib/jdk/bin/jar 500 --slave /usr/share/man/man1/jar.1 jar.1
/usr/local/lib/jdk/man/man1/jar.1
   
update-alternatives --verbose --install /usr/bin/jarsigner jarsigner
/usr/local/lib/jdk/bin/jarsigner 500 --slave
/usr/share/man/man1/jarsigner.1 jarsigner.1 
/usr/local/lib/jdk/man/man1/jarsigner.1

update-alternatives --verbose --install /usr/bin/java java
/usr/local/lib/jdk/bin/java 500 --slave /usr/share/man/man1/java.1
java.1 /usr/local/lib/jdk/man/man1/java.1

update-alternatives --verbose --install /usr/bin/javac javac
/usr/local/lib/jdk/bin/javac 500 --slave /usr/share/man/man1/javac.1
javac.1 /usr/local/lib/jdk/man/man1/javac.1
   
update-alternatives --verbose --install /usr/bin/javadoc javadoc
/usr/local/lib/jdk/bin/javadoc 500 --slave
/usr/share/man/man1/javadoc.1 javadoc.1
/usr/local/lib/jdk/man/man1/javadoc.1
   
update-alternatives --verbose --install /usr/bin/javah javah
/usr/local/lib/jdk/bin/javah 500 --slave /usr/share/man/man1/javah.1
javah.1 /usr/local/lib/jdk/man/man1/javah.1
   
update-alternatives --verbose --install /usr/bin/javakey javakey 
/usr/local/lib/jdk/bin/keytool 500 --slave
/usr/share/man/man1/javakey.1 javakey.1
/usr/local/lib/jdk/man/man1/keytool.1
   
update-alternatives --verbose --install /usr/bin/javap javap
/usr/local/lib/jdk/bin/javap 500 --slave /usr/share/man/man1/javap.1
javap.1 /usr/local/lib/jdk/man/man1/javap.1
   
update-alternatives --verbose --install /usr/bin/java-rmi.cgi
java-rmi.cgi /usr/local/lib/jdk/bin/java-rmi.cgi 500
   
update-alternatives --verbose --install /usr/bin/jdb jdb
/usr/local/lib/jdk/bin/jdb 500 --slave /usr/share/man/man1/jdb.1 jdb.1
/usr/local/lib/jdk/man/man1/jdb.1
                                  
update-alternatives --verbose --install /usr/bin/keytool keytool
/usr/local/lib/jdk/bin/keytool 500 --slave
/usr/share/man/man1/keytool.1 keytool.1
/usr/local/lib/jdk/man/man1/keytool.1
   
update-alternatives --verbose --install /usr/bin/kinit kinit
/usr/local/lib/jdk/bin/kinit 500
                                   
update-alternatives --verbose --install /usr/bin/klist klist
/usr/local/lib/jdk/bin/klist 500
   
update-alternatives --verbose --install /usr/bin/ktab ktab
/usr/local/lib/jdk/bin/ktab 500
   
update-alternatives --verbose --install /usr/bin/native2ascii
native2ascii /usr/local/lib/jdk/bin/native2ascii 500 --slave 
/usr/share/man/man1/native2ascii.1 native2ascii.1
/usr/local/lib/jdk/man/man1/native2ascii.1

update-alternatives --verbose --install /usr/bin/orbd orbd 
/usr/local/lib/jdk/bin/orbd 500 --slave /usr/share/man/man1/orbd.1
orbd.1 /usr/local/lib/jdk/man/man1/orbd.1
   
update-alternatives --verbose --install /usr/bin/policytool policytool
 /usr/local/lib/jdk/bin/policytool 500 --slave
/usr/share/man/man1/policytool.1 policytool.1 
/usr/local/lib/jdk/man/man1/policytool.1
   
update-alternatives --verbose --install /usr/bin/rmic rmic
/usr/local/lib/jdk/bin/rmic 500 --slave /usr/share/man/man1/rmic.1
rmic.1   /usr/local/lib/jdk/man/man1/rmic.1
   
update-alternatives --verbose --install /usr/bin/rmid rmid
/usr/local/lib/jdk/bin/rmid 500 --slave /usr/share/man/man1/rmid.1
rmid.1  /usr/local/lib/jdk/man/man1/rmid.1

update-alternatives --verbose --install /usr/bin/rmiregistry
rmiregistry  /usr/local/lib/jdk/bin/rmiregistry 500 --slave 
/usr/share/man/man1/rmiregistry.1 rmiregistry.1 
/usr/local/lib/jdk/man/man1/rmiregistry.1
   
update-alternatives --verbose --install /usr/bin/serialver serialver 
/usr/local/lib/jdk/bin/serialver 500 --slave 
/usr/share/man/man1/serialver.1 serialver.1 
/usr/local/lib/jdk/man/man1/serialver.1

update-alternatives --verbose --install /usr/bin/servertool servertool
  /usr/local/lib/jdk/bin/servertool 500 --slave 
/usr/share/man/man1/servertool.1 servertool.1  
/usr/local/lib/jdk/man/man1/servertool.1
   
update-alternatives --verbose --install /usr/bin/tnameserv tnameserv 
/usr/local/lib/jdk/bin/tnameserv 500 --slave 
/usr/share/man/man1/tnameserv.1 tnameserv.1 
/usr/local/lib/jdk/man/man1/tnameserv.1
#!/bin/sh

update-alternatives --verbose --install /usr/bin/appletviewer
appletviewer /usr/local/lib/jdk/bin/appletviewer 500 --slave
/usr/share/man/man1/appletviewer.1 appletviewer.1 
/usr/local/lib/jdk/man/man1/appletviewer.1
   
update-alternatives --verbose --install /usr/bin/ControlPanel
ControlPanel /usr/local/lib/jdk/bin/ControlPanel 500
                                                       
update-alternatives --verbose --install /usr/bin/extcheck extcheck
/usr/local/lib/jdk/bin/extcheck 500 --slave
/usr/share/man/man1/extcheck.1 extcheck.1
/usr/local/lib/jdk/man/man1/extcheck.1

update-alternatives --verbose --install /usr/bin/HtmlConverter
HtmlConverter /usr/local/lib/jdk/bin/HtmlConverter 500

update-alternatives --verbose --install /usr/bin/idlj idlj
/usr/local/lib/jdk/bin/idlj 500 --slave /usr/share/man/man1/idlj.1
idlj.1 /usr/local/lib/jdk/man/man1/idlj.1

update-alternatives --verbose --install /usr/bin/jar jar
/usr/local/lib/jdk/bin/jar 500 --slave /usr/share/man/man1/jar.1 jar.1
/usr/local/lib/jdk/man/man1/jar.1
   
update-alternatives --verbose --install /usr/bin/jarsigner jarsigner
/usr/local/lib/jdk/bin/jarsigner 500 --slave
/usr/share/man/man1/jarsigner.1 jarsigner.1 
/usr/local/lib/jdk/man/man1/jarsigner.1

update-alternatives --verbose --install /usr/bin/java java
/usr/local/lib/jdk/bin/java 500 --slave /usr/share/man/man1/java.1
java.1 /usr/local/lib/jdk/man/man1/java.1

update-alternatives --verbose --install /usr/bin/javac javac
/usr/local/lib/jdk/bin/javac 500 --slave /usr/share/man/man1/javac.1
javac.1 /usr/local/lib/jdk/man/man1/javac.1
   
update-alternatives --verbose --install /usr/bin/javadoc javadoc
/usr/local/lib/jdk/bin/javadoc 500 --slave
/usr/share/man/man1/javadoc.1 javadoc.1
/usr/local/lib/jdk/man/man1/javadoc.1
   
update-alternatives --verbose --install /usr/bin/javah javah
/usr/local/lib/jdk/bin/javah 500 --slave /usr/share/man/man1/javah.1
javah.1 /usr/local/lib/jdk/man/man1/javah.1
   
update-alternatives --verbose --install /usr/bin/javakey javakey 
/usr/local/lib/jdk/bin/keytool 500 --slave
/usr/share/man/man1/javakey.1 javakey.1
/usr/local/lib/jdk/man/man1/keytool.1
   
update-alternatives --verbose --install /usr/bin/javap javap
/usr/local/lib/jdk/bin/javap 500 --slave /usr/share/man/man1/javap.1
javap.1 /usr/local/lib/jdk/man/man1/javap.1
   
update-alternatives --verbose --install /usr/bin/java-rmi.cgi
java-rmi.cgi /usr/local/lib/jdk/bin/java-rmi.cgi 500
   
update-alternatives --verbose --install /usr/bin/jdb jdb
/usr/local/lib/jdk/bin/jdb 500 --slave /usr/share/man/man1/jdb.1 jdb.1
/usr/local/lib/jdk/man/man1/jdb.1
                                  
update-alternatives --verbose --install /usr/bin/keytool keytool
/usr/local/lib/jdk/bin/keytool 500 --slave
/usr/share/man/man1/keytool.1 keytool.1
/usr/local/lib/jdk/man/man1/keytool.1
   
update-alternatives --verbose --install /usr/bin/kinit kinit
/usr/local/lib/jdk/bin/kinit 500
                                   
update-alternatives --verbose --install /usr/bin/klist klist
/usr/local/lib/jdk/bin/klist 500
   
update-alternatives --verbose --install /usr/bin/ktab ktab
/usr/local/lib/jdk/bin/ktab 500
   
update-alternatives --verbose --install /usr/bin/native2ascii
native2ascii /usr/local/lib/jdk/bin/native2ascii 500 --slave 
/usr/share/man/man1/native2ascii.1 native2ascii.1
/usr/local/lib/jdk/man/man1/native2ascii.1

update-alternatives --verbose --install /usr/bin/orbd orbd 
/usr/local/lib/jdk/bin/orbd 500 --slave /usr/share/man/man1/orbd.1
orbd.1 /usr/local/lib/jdk/man/man1/orbd.1
   
update-alternatives --verbose --install /usr/bin/policytool policytool
 /usr/local/lib/jdk/bin/policytool 500 --slave
/usr/share/man/man1/policytool.1 policytool.1 
/usr/local/lib/jdk/man/man1/policytool.1
   
update-alternatives --verbose --install /usr/bin/rmic rmic
/usr/local/lib/jdk/bin/rmic 500 --slave /usr/share/man/man1/rmic.1
rmic.1   /usr/local/lib/jdk/man/man1/rmic.1
   
update-alternatives --verbose --install /usr/bin/rmid rmid
/usr/local/lib/jdk/bin/rmid 500 --slave /usr/share/man/man1/rmid.1
rmid.1  /usr/local/lib/jdk/man/man1/rmid.1

update-alternatives --verbose --install /usr/bin/rmiregistry
rmiregistry  /usr/local/lib/jdk/bin/rmiregistry 500 --slave 
/usr/share/man/man1/rmiregistry.1 rmiregistry.1 
/usr/local/lib/jdk/man/man1/rmiregistry.1
   
update-alternatives --verbose --install /usr/bin/serialver serialver 
/usr/local/lib/jdk/bin/serialver 500 --slave 
/usr/share/man/man1/serialver.1 serialver.1 
/usr/local/lib/jdk/man/man1/serialver.1

update-alternatives --verbose --install /usr/bin/servertool servertool
  /usr/local/lib/jdk/bin/servertool 500 --slave 
/usr/share/man/man1/servertool.1 servertool.1  
/usr/local/lib/jdk/man/man1/servertool.1
   
update-alternatives --verbose --install /usr/bin/tnameserv tnameserv 
/usr/local/lib/jdk/bin/tnameserv 500 --slave 
/usr/share/man/man1/tnameserv.1 tnameserv.1 
/usr/local/lib/jdk/man/man1/tnameserv.1
#!/bin/sh

update-alternatives --verbose --install /usr/bin/appletviewer
appletviewer /usr/local/lib/jdk/bin/appletviewer 500 --slave
/usr/share/man/man1/appletviewer.1 appletviewer.1 
/usr/local/lib/jdk/man/man1/appletviewer.1
   
update-alternatives --verbose --install /usr/bin/ControlPanel
ControlPanel /usr/local/lib/jdk/bin/ControlPanel 500
                                                       
update-alternatives --verbose --install /usr/bin/extcheck extcheck
/usr/local/lib/jdk/bin/extcheck 500 --slave
/usr/share/man/man1/extcheck.1 extcheck.1
/usr/local/lib/jdk/man/man1/extcheck.1

update-alternatives --verbose --install /usr/bin/HtmlConverter
HtmlConverter /usr/local/lib/jdk/bin/HtmlConverter 500

update-alternatives --verbose --install /usr/bin/idlj idlj
/usr/local/lib/jdk/bin/idlj 500 --slave /usr/share/man/man1/idlj.1
idlj.1 /usr/local/lib/jdk/man/man1/idlj.1

update-alternatives --verbose --install /usr/bin/jar jar
/usr/local/lib/jdk/bin/jar 500 --slave /usr/share/man/man1/jar.1 jar.1
/usr/local/lib/jdk/man/man1/jar.1
   
update-alternatives --verbose --install /usr/bin/jarsigner jarsigner
/usr/local/lib/jdk/bin/jarsigner 500 --slave
/usr/share/man/man1/jarsigner.1 jarsigner.1 
/usr/local/lib/jdk/man/man1/jarsigner.1

update-alternatives --verbose --install /usr/bin/java java
/usr/local/lib/jdk/bin/java 500 --slave /usr/share/man/man1/java.1
java.1 /usr/local/lib/jdk/man/man1/java.1

update-alternatives --verbose --install /usr/bin/javac javac
/usr/local/lib/jdk/bin/javac 500 --slave /usr/share/man/man1/javac.1
javac.1 /usr/local/lib/jdk/man/man1/javac.1
   
update-alternatives --verbose --install /usr/bin/javadoc javadoc
/usr/local/lib/jdk/bin/javadoc 500 --slave
/usr/share/man/man1/javadoc.1 javadoc.1
/usr/local/lib/jdk/man/man1/javadoc.1
   
update-alternatives --verbose --install /usr/bin/javah javah
/usr/local/lib/jdk/bin/javah 500 --slave /usr/share/man/man1/javah.1
javah.1 /usr/local/lib/jdk/man/man1/javah.1
   
update-alternatives --verbose --install /usr/bin/javakey javakey 
/usr/local/lib/jdk/bin/keytool 500 --slave
/usr/share/man/man1/javakey.1 javakey.1
/usr/local/lib/jdk/man/man1/keytool.1
   
update-alternatives --verbose --install /usr/bin/javap javap
/usr/local/lib/jdk/bin/javap 500 --slave /usr/share/man/man1/javap.1
javap.1 /usr/local/lib/jdk/man/man1/javap.1
   
update-alternatives --verbose --install /usr/bin/java-rmi.cgi
java-rmi.cgi /usr/local/lib/jdk/bin/java-rmi.cgi 500
   
update-alternatives --verbose --install /usr/bin/jdb jdb
/usr/local/lib/jdk/bin/jdb 500 --slave /usr/share/man/man1/jdb.1 jdb.1
/usr/local/lib/jdk/man/man1/jdb.1
                                  
update-alternatives --verbose --install /usr/bin/keytool keytool
/usr/local/lib/jdk/bin/keytool 500 --slave
/usr/share/man/man1/keytool.1 keytool.1
/usr/local/lib/jdk/man/man1/keytool.1
   
update-alternatives --verbose --install /usr/bin/kinit kinit
/usr/local/lib/jdk/bin/kinit 500
                                   
update-alternatives --verbose --install /usr/bin/klist klist
/usr/local/lib/jdk/bin/klist 500
   
update-alternatives --verbose --install /usr/bin/ktab ktab
/usr/local/lib/jdk/bin/ktab 500
   
update-alternatives --verbose --install /usr/bin/native2ascii
native2ascii /usr/local/lib/jdk/bin/native2ascii 500 --slave 
/usr/share/man/man1/native2ascii.1 native2ascii.1
/usr/local/lib/jdk/man/man1/native2ascii.1

update-alternatives --verbose --install /usr/bin/orbd orbd 
/usr/local/lib/jdk/bin/orbd 500 --slave /usr/share/man/man1/orbd.1
orbd.1 /usr/local/lib/jdk/man/man1/orbd.1
   
update-alternatives --verbose --install /usr/bin/policytool policytool
 /usr/local/lib/jdk/bin/policytool 500 --slave
/usr/share/man/man1/policytool.1 policytool.1 
/usr/local/lib/jdk/man/man1/policytool.1
   
update-alternatives --verbose --install /usr/bin/rmic rmic
/usr/local/lib/jdk/bin/rmic 500 --slave /usr/share/man/man1/rmic.1
rmic.1   /usr/local/lib/jdk/man/man1/rmic.1
   
update-alternatives --verbose --install /usr/bin/rmid rmid
/usr/local/lib/jdk/bin/rmid 500 --slave /usr/share/man/man1/rmid.1
rmid.1  /usr/local/lib/jdk/man/man1/rmid.1

update-alternatives --verbose --install /usr/bin/rmiregistry
rmiregistry  /usr/local/lib/jdk/bin/rmiregistry 500 --slave 
/usr/share/man/man1/rmiregistry.1 rmiregistry.1 
/usr/local/lib/jdk/man/man1/rmiregistry.1
   
update-alternatives --verbose --install /usr/bin/serialver serialver 
/usr/local/lib/jdk/bin/serialver 500 --slave 
/usr/share/man/man1/serialver.1 serialver.1 
/usr/local/lib/jdk/man/man1/serialver.1

update-alternatives --verbose --install /usr/bin/servertool servertool
  /usr/local/lib/jdk/bin/servertool 500 --slave 
/usr/share/man/man1/servertool.1 servertool.1  
/usr/local/lib/jdk/man/man1/servertool.1
   
update-alternatives --verbose --install /usr/bin/tnameserv tnameserv 
/usr/local/lib/jdk/bin/tnameserv 500 --slave 
/usr/share/man/man1/tnameserv.1 tnameserv.1 
/usr/local/lib/jdk/man/man1/tnameserv.1
#!/bin/sh

update-alternatives --verbose --install /usr/bin/appletviewer
appletviewer /usr/local/lib/jdk/bin/appletviewer 500 --slave
/usr/share/man/man1/appletviewer.1 appletviewer.1 
/usr/local/lib/jdk/man/man1/appletviewer.1
   
update-alternatives --verbose --install /usr/bin/ControlPanel
ControlPanel /usr/local/lib/jdk/bin/ControlPanel 500
                                                       
update-alternatives --verbose --install /usr/bin/extcheck extcheck
/usr/local/lib/jdk/bin/extcheck 500 --slave
/usr/share/man/man1/extcheck.1 extcheck.1
/usr/local/lib/jdk/man/man1/extcheck.1

update-alternatives --verbose --install /usr/bin/HtmlConverter
HtmlConverter /usr/local/lib/jdk/bin/HtmlConverter 500

update-alternatives --verbose --install /usr/bin/idlj idlj
/usr/local/lib/jdk/bin/idlj 500 --slave /usr/share/man/man1/idlj.1
idlj.1 /usr/local/lib/jdk/man/man1/idlj.1

update-alternatives --verbose --install /usr/bin/jar jar
/usr/local/lib/jdk/bin/jar 500 --slave /usr/share/man/man1/jar.1 jar.1
/usr/local/lib/jdk/man/man1/jar.1
   
update-alternatives --verbose --install /usr/bin/jarsigner jarsigner
/usr/local/lib/jdk/bin/jarsigner 500 --slave
/usr/share/man/man1/jarsigner.1 jarsigner.1 
/usr/local/lib/jdk/man/man1/jarsigner.1

update-alternatives --verbose --install /usr/bin/java java
/usr/local/lib/jdk/bin/java 500 --slave /usr/share/man/man1/java.1
java.1 /usr/local/lib/jdk/man/man1/java.1

update-alternatives --verbose --install /usr/bin/javac javac
/usr/local/lib/jdk/bin/javac 500 --slave /usr/share/man/man1/javac.1
javac.1 /usr/local/lib/jdk/man/man1/javac.1
   
update-alternatives --verbose --install /usr/bin/javadoc javadoc
/usr/local/lib/jdk/bin/javadoc 500 --slave
/usr/share/man/man1/javadoc.1 javadoc.1
/usr/local/lib/jdk/man/man1/javadoc.1
   
update-alternatives --verbose --install /usr/bin/javah javah
/usr/local/lib/jdk/bin/javah 500 --slave /usr/share/man/man1/javah.1
javah.1 /usr/local/lib/jdk/man/man1/javah.1
   
update-alternatives --verbose --install /usr/bin/javakey javakey 
/usr/local/lib/jdk/bin/keytool 500 --slave
/usr/share/man/man1/javakey.1 javakey.1
/usr/local/lib/jdk/man/man1/keytool.1
   
update-alternatives --verbose --install /usr/bin/javap javap
/usr/local/lib/jdk/bin/javap 500 --slave /usr/share/man/man1/javap.1
javap.1 /usr/local/lib/jdk/man/man1/javap.1
   
update-alternatives --verbose --install /usr/bin/java-rmi.cgi
java-rmi.cgi /usr/local/lib/jdk/bin/java-rmi.cgi 500
   
update-alternatives --verbose --install /usr/bin/jdb jdb
/usr/local/lib/jdk/bin/jdb 500 --slave /usr/share/man/man1/jdb.1 jdb.1
/usr/local/lib/jdk/man/man1/jdb.1
                                  
update-alternatives --verbose --install /usr/bin/keytool keytool
/usr/local/lib/jdk/bin/keytool 500 --slave
/usr/share/man/man1/keytool.1 keytool.1
/usr/local/lib/jdk/man/man1/keytool.1
   
update-alternatives --verbose --install /usr/bin/kinit kinit
/usr/local/lib/jdk/bin/kinit 500
                                   
update-alternatives --verbose --install /usr/bin/klist klist
/usr/local/lib/jdk/bin/klist 500
   
update-alternatives --verbose --install /usr/bin/ktab ktab
/usr/local/lib/jdk/bin/ktab 500
   
update-alternatives --verbose --install /usr/bin/native2ascii
native2ascii /usr/local/lib/jdk/bin/native2ascii 500 --slave 
/usr/share/man/man1/native2ascii.1 native2ascii.1
/usr/local/lib/jdk/man/man1/native2ascii.1

update-alternatives --verbose --install /usr/bin/orbd orbd 
/usr/local/lib/jdk/bin/orbd 500 --slave /usr/share/man/man1/orbd.1
orbd.1 /usr/local/lib/jdk/man/man1/orbd.1
   
update-alternatives --verbose --install /usr/bin/policytool policytool
 /usr/local/lib/jdk/bin/policytool 500 --slave
/usr/share/man/man1/policytool.1 policytool.1 
/usr/local/lib/jdk/man/man1/policytool.1
   
update-alternatives --verbose --install /usr/bin/rmic rmic
/usr/local/lib/jdk/bin/rmic 500 --slave /usr/share/man/man1/rmic.1
rmic.1   /usr/local/lib/jdk/man/man1/rmic.1
   
update-alternatives --verbose --install /usr/bin/rmid rmid
/usr/local/lib/jdk/bin/rmid 500 --slave /usr/share/man/man1/rmid.1
rmid.1  /usr/local/lib/jdk/man/man1/rmid.1

update-alternatives --verbose --install /usr/bin/rmiregistry
rmiregistry  /usr/local/lib/jdk/bin/rmiregistry 500 --slave 
/usr/share/man/man1/rmiregistry.1 rmiregistry.1 
/usr/local/lib/jdk/man/man1/rmiregistry.1
   
update-alternatives --verbose --install /usr/bin/serialver serialver 
/usr/local/lib/jdk/bin/serialver 500 --slave 
/usr/share/man/man1/serialver.1 serialver.1 
/usr/local/lib/jdk/man/man1/serialver.1

update-alternatives --verbose --install /usr/bin/servertool servertool
  /usr/local/lib/jdk/bin/servertool 500 --slave 
/usr/share/man/man1/servertool.1 servertool.1  
/usr/local/lib/jdk/man/man1/servertool.1
   
update-alternatives --verbose --install /usr/bin/tnameserv tnameserv 
/usr/local/lib/jdk/bin/tnameserv 500 --slave 
/usr/share/man/man1/tnameserv.1 tnameserv.1 
/usr/local/lib/jdk/man/man1/tnameserv.1
#!/bin/sh

update-alternatives --verbose --install /usr/bin/appletviewer
appletviewer /usr/local/lib/jdk/bin/appletviewer 500 --slave
/usr/share/man/man1/appletviewer.1 appletviewer.1 
/usr/local/lib/jdk/man/man1/appletviewer.1
   
update-alternatives --verbose --install /usr/bin/ControlPanel
ControlPanel /usr/local/lib/jdk/bin/ControlPanel 500
                                                       
update-alternatives --verbose --install /usr/bin/extcheck extcheck
/usr/local/lib/jdk/bin/extcheck 500 --slave
/usr/share/man/man1/extcheck.1 extcheck.1
/usr/local/lib/jdk/man/man1/extcheck.1

update-alternatives --verbose --install /usr/bin/HtmlConverter
HtmlConverter /usr/local/lib/jdk/bin/HtmlConverter 500

update-alternatives --verbose --install /usr/bin/idlj idlj
/usr/local/lib/jdk/bin/idlj 500 --slave /usr/share/man/man1/idlj.1
idlj.1 /usr/local/lib/jdk/man/man1/idlj.1

update-alternatives --verbose --install /usr/bin/jar jar
/usr/local/lib/jdk/bin/jar 500 --slave /usr/share/man/man1/jar.1 jar.1
/usr/local/lib/jdk/man/man1/jar.1
   
update-alternatives --verbose --install /usr/bin/jarsigner jarsigner
/usr/local/lib/jdk/bin/jarsigner 500 --slave
/usr/share/man/man1/jarsigner.1 jarsigner.1 
/usr/local/lib/jdk/man/man1/jarsigner.1

update-alternatives --verbose --install /usr/bin/java java
/usr/local/lib/jdk/bin/java 500 --slave /usr/share/man/man1/java.1
java.1 /usr/local/lib/jdk/man/man1/java.1

update-alternatives --verbose --install /usr/bin/javac javac
/usr/local/lib/jdk/bin/javac 500 --slave /usr/share/man/man1/javac.1
javac.1 /usr/local/lib/jdk/man/man1/javac.1
   
update-alternatives --verbose --install /usr/bin/javadoc javadoc
/usr/local/lib/jdk/bin/javadoc 500 --slave
/usr/share/man/man1/javadoc.1 javadoc.1
/usr/local/lib/jdk/man/man1/javadoc.1
   
update-alternatives --verbose --install /usr/bin/javah javah
/usr/local/lib/jdk/bin/javah 500 --slave /usr/share/man/man1/javah.1
javah.1 /usr/local/lib/jdk/man/man1/javah.1
   
update-alternatives --verbose --install /usr/bin/javakey javakey 
/usr/local/lib/jdk/bin/keytool 500 --slave
/usr/share/man/man1/javakey.1 javakey.1
/usr/local/lib/jdk/man/man1/keytool.1
   
update-alternatives --verbose --install /usr/bin/javap javap
/usr/local/lib/jdk/bin/javap 500 --slave /usr/share/man/man1/javap.1
javap.1 /usr/local/lib/jdk/man/man1/javap.1
   
update-alternatives --verbose --install /usr/bin/java-rmi.cgi
java-rmi.cgi /usr/local/lib/jdk/bin/java-rmi.cgi 500
   
update-alternatives --verbose --install /usr/bin/jdb jdb
/usr/local/lib/jdk/bin/jdb 500 --slave /usr/share/man/man1/jdb.1 jdb.1
/usr/local/lib/jdk/man/man1/jdb.1
                                  
update-alternatives --verbose --install /usr/bin/keytool keytool
/usr/local/lib/jdk/bin/keytool 500 --slave
/usr/share/man/man1/keytool.1 keytool.1
/usr/local/lib/jdk/man/man1/keytool.1
   
update-alternatives --verbose --install /usr/bin/kinit kinit
/usr/local/lib/jdk/bin/kinit 500
                                   
update-alternatives --verbose --install /usr/bin/klist klist
/usr/local/lib/jdk/bin/klist 500
   
update-alternatives --verbose --install /usr/bin/ktab ktab
/usr/local/lib/jdk/bin/ktab 500
   
update-alternatives --verbose --install /usr/bin/native2ascii
native2ascii /usr/local/lib/jdk/bin/native2ascii 500 --slave 
/usr/share/man/man1/native2ascii.1 native2ascii.1
/usr/local/lib/jdk/man/man1/native2ascii.1

update-alternatives --verbose --install /usr/bin/orbd orbd 
/usr/local/lib/jdk/bin/orbd 500 --slave /usr/share/man/man1/orbd.1
orbd.1 /usr/local/lib/jdk/man/man1/orbd.1
   
update-alternatives --verbose --install /usr/bin/policytool policytool
 /usr/local/lib/jdk/bin/policytool 500 --slave
/usr/share/man/man1/policytool.1 policytool.1 
/usr/local/lib/jdk/man/man1/policytool.1
   
update-alternatives --verbose --install /usr/bin/rmic rmic
/usr/local/lib/jdk/bin/rmic 500 --slave /usr/share/man/man1/rmic.1
rmic.1   /usr/local/lib/jdk/man/man1/rmic.1
   
update-alternatives --verbose --install /usr/bin/rmid rmid
/usr/local/lib/jdk/bin/rmid 500 --slave /usr/share/man/man1/rmid.1
rmid.1  /usr/local/lib/jdk/man/man1/rmid.1

update-alternatives --verbose --install /usr/bin/rmiregistry
rmiregistry  /usr/local/lib/jdk/bin/rmiregistry 500 --slave 
/usr/share/man/man1/rmiregistry.1 rmiregistry.1 
/usr/local/lib/jdk/man/man1/rmiregistry.1
   
update-alternatives --verbose --install /usr/bin/serialver serialver 
/usr/local/lib/jdk/bin/serialver 500 --slave 
/usr/share/man/man1/serialver.1 serialver.1 
/usr/local/lib/jdk/man/man1/serialver.1

update-alternatives --verbose --install /usr/bin/servertool servertool
  /usr/local/lib/jdk/bin/servertool 500 --slave 
/usr/share/man/man1/servertool.1 servertool.1  
/usr/local/lib/jdk/man/man1/servertool.1
   
update-alternatives --verbose --install /usr/bin/tnameserv tnameserv 
/usr/local/lib/jdk/bin/tnameserv 500 --slave 
/usr/share/man/man1/tnameserv.1 tnameserv.1 
/usr/local/lib/jdk/man/man1/tnameserv.1
#!/bin/sh

update-alternatives --verbose --install /usr/bin/appletviewer
appletviewer /usr/local/lib/jdk/bin/appletviewer 500 --slave
/usr/share/man/man1/appletviewer.1 appletviewer.1 
/usr/local/lib/jdk/man/man1/appletviewer.1
   
update-alternatives --verbose --install /usr/bin/ControlPanel
ControlPanel /usr/local/lib/jdk/bin/ControlPanel 500
                                                       
update-alternatives --verbose --install /usr/bin/extcheck extcheck
/usr/local/lib/jdk/bin/extcheck 500 --slave
/usr/share/man/man1/extcheck.1 extcheck.1
/usr/local/lib/jdk/man/man1/extcheck.1

update-alternatives --verbose --install /usr/bin/HtmlConverter
HtmlConverter /usr/local/lib/jdk/bin/HtmlConverter 500

update-alternatives --verbose --install /usr/bin/idlj idlj
/usr/local/lib/jdk/bin/idlj 500 --slave /usr/share/man/man1/idlj.1
idlj.1 /usr/local/lib/jdk/man/man1/idlj.1

update-alternatives --verbose --install /usr/bin/jar jar
/usr/local/lib/jdk/bin/jar 500 --slave /usr/share/man/man1/jar.1 jar.1
/usr/local/lib/jdk/man/man1/jar.1
   
update-alternatives --verbose --install /usr/bin/jarsigner jarsigner
/usr/local/lib/jdk/bin/jarsigner 500 --slave
/usr/share/man/man1/jarsigner.1 jarsigner.1 
/usr/local/lib/jdk/man/man1/jarsigner.1

update-alternatives --verbose --install /usr/bin/java java
/usr/local/lib/jdk/bin/java 500 --slave /usr/share/man/man1/java.1
java.1 /usr/local/lib/jdk/man/man1/java.1

update-alternatives --verbose --install /usr/bin/javac javac
/usr/local/lib/jdk/bin/javac 500 --slave /usr/share/man/man1/javac.1
javac.1 /usr/local/lib/jdk/man/man1/javac.1
   
update-alternatives --verbose --install /usr/bin/javadoc javadoc
/usr/local/lib/jdk/bin/javadoc 500 --slave
/usr/share/man/man1/javadoc.1 javadoc.1
/usr/local/lib/jdk/man/man1/javadoc.1
   
update-alternatives --verbose --install /usr/bin/javah javah
/usr/local/lib/jdk/bin/javah 500 --slave /usr/share/man/man1/javah.1
javah.1 /usr/local/lib/jdk/man/man1/javah.1
   
update-alternatives --verbose --install /usr/bin/javakey javakey 
/usr/local/lib/jdk/bin/keytool 500 --slave
/usr/share/man/man1/javakey.1 javakey.1
/usr/local/lib/jdk/man/man1/keytool.1
   
update-alternatives --verbose --install /usr/bin/javap javap
/usr/local/lib/jdk/bin/javap 500 --slave /usr/share/man/man1/javap.1
javap.1 /usr/local/lib/jdk/man/man1/javap.1
   
update-alternatives --verbose --install /usr/bin/java-rmi.cgi
java-rmi.cgi /usr/local/lib/jdk/bin/java-rmi.cgi 500
   
update-alternatives --verbose --install /usr/bin/jdb jdb
/usr/local/lib/jdk/bin/jdb 500 --slave /usr/share/man/man1/jdb.1 jdb.1
/usr/local/lib/jdk/man/man1/jdb.1
                                  
update-alternatives --verbose --install /usr/bin/keytool keytool
/usr/local/lib/jdk/bin/keytool 500 --slave
/usr/share/man/man1/keytool.1 keytool.1
/usr/local/lib/jdk/man/man1/keytool.1
   
update-alternatives --verbose --install /usr/bin/kinit kinit
/usr/local/lib/jdk/bin/kinit 500
                                   
update-alternatives --verbose --install /usr/bin/klist klist
/usr/local/lib/jdk/bin/klist 500
   
update-alternatives --verbose --install /usr/bin/ktab ktab
/usr/local/lib/jdk/bin/ktab 500
   
update-alternatives --verbose --install /usr/bin/native2ascii
native2ascii /usr/local/lib/jdk/bin/native2ascii 500 --slave 
/usr/share/man/man1/native2ascii.1 native2ascii.1
/usr/local/lib/jdk/man/man1/native2ascii.1

update-alternatives --verbose --install /usr/bin/orbd orbd 
/usr/local/lib/jdk/bin/orbd 500 --slave /usr/share/man/man1/orbd.1
orbd.1 /usr/local/lib/jdk/man/man1/orbd.1
   
update-alternatives --verbose --install /usr/bin/policytool policytool
 /usr/local/lib/jdk/bin/policytool 500 --slave
/usr/share/man/man1/policytool.1 policytool.1 
/usr/local/lib/jdk/man/man1/policytool.1
   
update-alternatives --verbose --install /usr/bin/rmic rmic
/usr/local/lib/jdk/bin/rmic 500 --slave /usr/share/man/man1/rmic.1
rmic.1   /usr/local/lib/jdk/man/man1/rmic.1
   
update-alternatives --verbose --install /usr/bin/rmid rmid
/usr/local/lib/jdk/bin/rmid 500 --slave /usr/share/man/man1/rmid.1
rmid.1  /usr/local/lib/jdk/man/man1/rmid.1

update-alternatives --verbose --install /usr/bin/rmiregistry
rmiregistry  /usr/local/lib/jdk/bin/rmiregistry 500 --slave 
/usr/share/man/man1/rmiregistry.1 rmiregistry.1 
/usr/local/lib/jdk/man/man1/rmiregistry.1
   
update-alternatives --verbose --install /usr/bin/serialver serialver 
/usr/local/lib/jdk/bin/serialver 500 --slave 
/usr/share/man/man1/serialver.1 serialver.1 
/usr/local/lib/jdk/man/man1/serialver.1

update-alternatives --verbose --install /usr/bin/servertool servertool
  /usr/local/lib/jdk/bin/servertool 500 --slave 
/usr/share/man/man1/servertool.1 servertool.1  
/usr/local/lib/jdk/man/man1/servertool.1
   
update-alternatives --verbose --install /usr/bin/tnameserv tnameserv 
/usr/local/lib/jdk/bin/tnameserv 500 --slave 
/usr/share/man/man1/tnameserv.1 tnameserv.1 
/usr/local/lib/jdk/man/man1/tnameserv.1
#!/bin/sh

update-alternatives --verbose --install /usr/bin/appletviewer
appletviewer /usr/local/lib/jdk/bin/appletviewer 500 --slave
/usr/share/man/man1/appletviewer.1 appletviewer.1 
/usr/local/lib/jdk/man/man1/appletviewer.1
   
update-alternatives --verbose --install /usr/bin/ControlPanel
ControlPanel /usr/local/lib/jdk/bin/ControlPanel 500
                                                       
update-alternatives --verbose --install /usr/bin/extcheck extcheck
/usr/local/lib/jdk/bin/extcheck 500 --slave
/usr/share/man/man1/extcheck.1 extcheck.1
/usr/local/lib/jdk/man/man1/extcheck.1

update-alternatives --verbose --install /usr/bin/HtmlConverter
HtmlConverter /usr/local/lib/jdk/bin/HtmlConverter 500

update-alternatives --verbose --install /usr/bin/idlj idlj
/usr/local/lib/jdk/bin/idlj 500 --slave /usr/share/man/man1/idlj.1
idlj.1 /usr/local/lib/jdk/man/man1/idlj.1

update-alternatives --verbose --install /usr/bin/jar jar
/usr/local/lib/jdk/bin/jar 500 --slave /usr/share/man/man1/jar.1 jar.1
/usr/local/lib/jdk/man/man1/jar.1
   
update-alternatives --verbose --install /usr/bin/jarsigner jarsigner
/usr/local/lib/jdk/bin/jarsigner 500 --slave
/usr/share/man/man1/jarsigner.1 jarsigner.1 
/usr/local/lib/jdk/man/man1/jarsigner.1

update-alternatives --verbose --install /usr/bin/java java
/usr/local/lib/jdk/bin/java 500 --slave /usr/share/man/man1/java.1
java.1 /usr/local/lib/jdk/man/man1/java.1

update-alternatives --verbose --install /usr/bin/javac javac
/usr/local/lib/jdk/bin/javac 500 --slave /usr/share/man/man1/javac.1
javac.1 /usr/local/lib/jdk/man/man1/javac.1
   
update-alternatives --verbose --install /usr/bin/javadoc javadoc
/usr/local/lib/jdk/bin/javadoc 500 --slave
/usr/share/man/man1/javadoc.1 javadoc.1
/usr/local/lib/jdk/man/man1/javadoc.1
   
update-alternatives --verbose --install /usr/bin/javah javah
/usr/local/lib/jdk/bin/javah 500 --slave /usr/share/man/man1/javah.1
javah.1 /usr/local/lib/jdk/man/man1/javah.1
   
update-alternatives --verbose --install /usr/bin/javakey javakey 
/usr/local/lib/jdk/bin/keytool 500 --slave
/usr/share/man/man1/javakey.1 javakey.1
/usr/local/lib/jdk/man/man1/keytool.1
   
update-alternatives --verbose --install /usr/bin/javap javap
/usr/local/lib/jdk/bin/javap 500 --slave /usr/share/man/man1/javap.1
javap.1 /usr/local/lib/jdk/man/man1/javap.1
   
update-alternatives --verbose --install /usr/bin/java-rmi.cgi
java-rmi.cgi /usr/local/lib/jdk/bin/java-rmi.cgi 500
   
update-alternatives --verbose --install /usr/bin/jdb jdb
/usr/local/lib/jdk/bin/jdb 500 --slave /usr/share/man/man1/jdb.1 jdb.1
/usr/local/lib/jdk/man/man1/jdb.1
                                  
update-alternatives --verbose --install /usr/bin/keytool keytool
/usr/local/lib/jdk/bin/keytool 500 --slave
/usr/share/man/man1/keytool.1 keytool.1
/usr/local/lib/jdk/man/man1/keytool.1
   
update-alternatives --verbose --install /usr/bin/kinit kinit
/usr/local/lib/jdk/bin/kinit 500
                                   
update-alternatives --verbose --install /usr/bin/klist klist
/usr/local/lib/jdk/bin/klist 500
   
update-alternatives --verbose --install /usr/bin/ktab ktab
/usr/local/lib/jdk/bin/ktab 500
   
update-alternatives --verbose --install /usr/bin/native2ascii
native2ascii /usr/local/lib/jdk/bin/native2ascii 500 --slave 
/usr/share/man/man1/native2ascii.1 native2ascii.1
/usr/local/lib/jdk/man/man1/native2ascii.1

update-alternatives --verbose --install /usr/bin/orbd orbd 
/usr/local/lib/jdk/bin/orbd 500 --slave /usr/share/man/man1/orbd.1
orbd.1 /usr/local/lib/jdk/man/man1/orbd.1
   
update-alternatives --verbose --install /usr/bin/policytool policytool
 /usr/local/lib/jdk/bin/policytool 500 --slave
/usr/share/man/man1/policytool.1 policytool.1 
/usr/local/lib/jdk/man/man1/policytool.1
   
update-alternatives --verbose --install /usr/bin/rmic rmic
/usr/local/lib/jdk/bin/rmic 500 --slave /usr/share/man/man1/rmic.1
rmic.1   /usr/local/lib/jdk/man/man1/rmic.1
   
update-alternatives --verbose --install /usr/bin/rmid rmid
/usr/local/lib/jdk/bin/rmid 500 --slave /usr/share/man/man1/rmid.1
rmid.1  /usr/local/lib/jdk/man/man1/rmid.1

update-alternatives --verbose --install /usr/bin/rmiregistry
rmiregistry  /usr/local/lib/jdk/bin/rmiregistry 500 --slave 
/usr/share/man/man1/rmiregistry.1 rmiregistry.1 
/usr/local/lib/jdk/man/man1/rmiregistry.1
   
update-alternatives --verbose --install /usr/bin/serialver serialver 
/usr/local/lib/jdk/bin/serialver 500 --slave 
/usr/share/man/man1/serialver.1 serialver.1 
/usr/local/lib/jdk/man/man1/serialver.1

update-alternatives --verbose --install /usr/bin/servertool servertool
  /usr/local/lib/jdk/bin/servertool 500 --slave 
/usr/share/man/man1/servertool.1 servertool.1  
/usr/local/lib/jdk/man/man1/servertool.1
   
update-alternatives --verbose --install /usr/bin/tnameserv tnameserv 
/usr/local/lib/jdk/bin/tnameserv 500 --slave 
/usr/share/man/man1/tnameserv.1 tnameserv.1 
/usr/local/lib/jdk/man/man1/tnameserv.1
#!/bin/sh

update-alternatives --verbose --install /usr/bin/appletviewer
appletviewer /usr/local/lib/jdk/bin/appletviewer 500 --slave
/usr/share/man/man1/appletviewer.1 appletviewer.1 
/usr/local/lib/jdk/man/man1/appletviewer.1
   
update-alternatives --verbose --install /usr/bin/ControlPanel
ControlPanel /usr/local/lib/jdk/bin/ControlPanel 500
                                                       
update-alternatives --verbose --install /usr/bin/extcheck extcheck
/usr/local/lib/jdk/bin/extcheck 500 --slave
/usr/share/man/man1/extcheck.1 extcheck.1
/usr/local/lib/jdk/man/man1/extcheck.1

update-alternatives --verbose --install /usr/bin/HtmlConverter
HtmlConverter /usr/local/lib/jdk/bin/HtmlConverter 500

update-alternatives --verbose --install /usr/bin/idlj idlj
/usr/local/lib/jdk/bin/idlj 500 --slave /usr/share/man/man1/idlj.1
idlj.1 /usr/local/lib/jdk/man/man1/idlj.1

update-alternatives --verbose --install /usr/bin/jar jar
/usr/local/lib/jdk/bin/jar 500 --slave /usr/share/man/man1/jar.1 jar.1
/usr/local/lib/jdk/man/man1/jar.1
   
update-alternatives --verbose --install /usr/bin/jarsigner jarsigner
/usr/local/lib/jdk/bin/jarsigner 500 --slave
/usr/share/man/man1/jarsigner.1 jarsigner.1 
/usr/local/lib/jdk/man/man1/jarsigner.1

update-alternatives --verbose --install /usr/bin/java java
/usr/local/lib/jdk/bin/java 500 --slave /usr/share/man/man1/java.1
java.1 /usr/local/lib/jdk/man/man1/java.1

update-alternatives --verbose --install /usr/bin/javac javac
/usr/local/lib/jdk/bin/javac 500 --slave /usr/share/man/man1/javac.1
javac.1 /usr/local/lib/jdk/man/man1/javac.1
   
update-alternatives --verbose --install /usr/bin/javadoc javadoc
/usr/local/lib/jdk/bin/javadoc 500 --slave
/usr/share/man/man1/javadoc.1 javadoc.1
/usr/local/lib/jdk/man/man1/javadoc.1
   
update-alternatives --verbose --install /usr/bin/javah javah
/usr/local/lib/jdk/bin/javah 500 --slave /usr/share/man/man1/javah.1
javah.1 /usr/local/lib/jdk/man/man1/javah.1
   
update-alternatives --verbose --install /usr/bin/javakey javakey 
/usr/local/lib/jdk/bin/keytool 500 --slave
/usr/share/man/man1/javakey.1 javakey.1
/usr/local/lib/jdk/man/man1/keytool.1
   
update-alternatives --verbose --install /usr/bin/javap javap
/usr/local/lib/jdk/bin/javap 500 --slave /usr/share/man/man1/javap.1
javap.1 /usr/local/lib/jdk/man/man1/javap.1
   
update-alternatives --verbose --install /usr/bin/java-rmi.cgi
java-rmi.cgi /usr/local/lib/jdk/bin/java-rmi.cgi 500
   
update-alternatives --verbose --install /usr/bin/jdb jdb
/usr/local/lib/jdk/bin/jdb 500 --slave /usr/share/man/man1/jdb.1 jdb.1
/usr/local/lib/jdk/man/man1/jdb.1
                                  
update-alternatives --verbose --install /usr/bin/keytool keytool
/usr/local/lib/jdk/bin/keytool 500 --slave
/usr/share/man/man1/keytool.1 keytool.1
/usr/local/lib/jdk/man/man1/keytool.1
   
update-alternatives --verbose --install /usr/bin/kinit kinit
/usr/local/lib/jdk/bin/kinit 500
                                   
update-alternatives --verbose --install /usr/bin/klist klist
/usr/local/lib/jdk/bin/klist 500
   
update-alternatives --verbose --install /usr/bin/ktab ktab
/usr/local/lib/jdk/bin/ktab 500
   
update-alternatives --verbose --install /usr/bin/native2ascii
native2ascii /usr/local/lib/jdk/bin/native2ascii 500 --slave 
/usr/share/man/man1/native2ascii.1 native2ascii.1
/usr/local/lib/jdk/man/man1/native2ascii.1

update-alternatives --verbose --install /usr/bin/orbd orbd 
/usr/local/lib/jdk/bin/orbd 500 --slave /usr/share/man/man1/orbd.1
orbd.1 /usr/local/lib/jdk/man/man1/orbd.1
   
update-alternatives --verbose --install /usr/bin/policytool policytool
 /usr/local/lib/jdk/bin/policytool 500 --slave
/usr/share/man/man1/policytool.1 policytool.1 
/usr/local/lib/jdk/man/man1/policytool.1
   
update-alternatives --verbose --install /usr/bin/rmic rmic
/usr/local/lib/jdk/bin/rmic 500 --slave /usr/share/man/man1/rmic.1
rmic.1   /usr/local/lib/jdk/man/man1/rmic.1
   
update-alternatives --verbose --install /usr/bin/rmid rmid
/usr/local/lib/jdk/bin/rmid 500 --slave /usr/share/man/man1/rmid.1
rmid.1  /usr/local/lib/jdk/man/man1/rmid.1

update-alternatives --verbose --install /usr/bin/rmiregistry
rmiregistry  /usr/local/lib/jdk/bin/rmiregistry 500 --slave 
/usr/share/man/man1/rmiregistry.1 rmiregistry.1 
/usr/local/lib/jdk/man/man1/rmiregistry.1
   
update-alternatives --verbose --install /usr/bin/serialver serialver 
/usr/local/lib/jdk/bin/serialver 500 --slave 
/usr/share/man/man1/serialver.1 serialver.1 
/usr/local/lib/jdk/man/man1/serialver.1

update-alternatives --verbose --install /usr/bin/servertool servertool
  /usr/local/lib/jdk/bin/servertool 500 --slave 
/usr/share/man/man1/servertool.1 servertool.1  
/usr/local/lib/jdk/man/man1/servertool.1
   
update-alternatives --verbose --install /usr/bin/tnameserv tnameserv 
/usr/local/lib/jdk/bin/tnameserv 500 --slave 
/usr/share/man/man1/tnameserv.1 tnameserv.1 
/usr/local/lib/jdk/man/man1/tnameserv.1
#!/bin/sh

update-alternatives --verbose --install /usr/bin/appletviewer
appletviewer /usr/local/lib/jdk/bin/appletviewer 500 --slave
/usr/share/man/man1/appletviewer.1 appletviewer.1 
/usr/local/lib/jdk/man/man1/appletviewer.1
   
update-alternatives --verbose --install /usr/bin/ControlPanel
ControlPanel /usr/local/lib/jdk/bin/ControlPanel 500
                                                       
update-alternatives --verbose --install /usr/bin/extcheck extcheck
/usr/local/lib/jdk/bin/extcheck 500 --slave
/usr/share/man/man1/extcheck.1 extcheck.1
/usr/local/lib/jdk/man/man1/extcheck.1

update-alternatives --verbose --install /usr/bin/HtmlConverter
HtmlConverter /usr/local/lib/jdk/bin/HtmlConverter 500

update-alternatives --verbose --install /usr/bin/idlj idlj
/usr/local/lib/jdk/bin/idlj 500 --slave /usr/share/man/man1/idlj.1
idlj.1 /usr/local/lib/jdk/man/man1/idlj.1

update-alternatives --verbose --install /usr/bin/jar jar
/usr/local/lib/jdk/bin/jar 500 --slave /usr/share/man/man1/jar.1 jar.1
/usr/local/lib/jdk/man/man1/jar.1
   
update-alternatives --verbose --install /usr/bin/jarsigner jarsigner
/usr/local/lib/jdk/bin/jarsigner 500 --slave
/usr/share/man/man1/jarsigner.1 jarsigner.1 
/usr/local/lib/jdk/man/man1/jarsigner.1

update-alternatives --verbose --install /usr/bin/java java
/usr/local/lib/jdk/bin/java 500 --slave /usr/share/man/man1/java.1
java.1 /usr/local/lib/jdk/man/man1/java.1

update-alternatives --verbose --install /usr/bin/javac javac
/usr/local/lib/jdk/bin/javac 500 --slave /usr/share/man/man1/javac.1
javac.1 /usr/local/lib/jdk/man/man1/javac.1
   
update-alternatives --verbose --install /usr/bin/javadoc javadoc
/usr/local/lib/jdk/bin/javadoc 500 --slave
/usr/share/man/man1/javadoc.1 javadoc.1
/usr/local/lib/jdk/man/man1/javadoc.1
   
update-alternatives --verbose --install /usr/bin/javah javah
/usr/local/lib/jdk/bin/javah 500 --slave /usr/share/man/man1/javah.1
javah.1 /usr/local/lib/jdk/man/man1/javah.1
   
update-alternatives --verbose --install /usr/bin/javakey javakey 
/usr/local/lib/jdk/bin/keytool 500 --slave
/usr/share/man/man1/javakey.1 javakey.1
/usr/local/lib/jdk/man/man1/keytool.1
   
update-alternatives --verbose --install /usr/bin/javap javap
/usr/local/lib/jdk/bin/javap 500 --slave /usr/share/man/man1/javap.1
javap.1 /usr/local/lib/jdk/man/man1/javap.1
   
update-alternatives --verbose --install /usr/bin/java-rmi.cgi
java-rmi.cgi /usr/local/lib/jdk/bin/java-rmi.cgi 500
   
update-alternatives --verbose --install /usr/bin/jdb jdb
/usr/local/lib/jdk/bin/jdb 500 --slave /usr/share/man/man1/jdb.1 jdb.1
/usr/local/lib/jdk/man/man1/jdb.1
                                  
update-alternatives --verbose --install /usr/bin/keytool keytool
/usr/local/lib/jdk/bin/keytool 500 --slave
/usr/share/man/man1/keytool.1 keytool.1
/usr/local/lib/jdk/man/man1/keytool.1
   
update-alternatives --verbose --install /usr/bin/kinit kinit
/usr/local/lib/jdk/bin/kinit 500
                                   
update-alternatives --verbose --install /usr/bin/klist klist
/usr/local/lib/jdk/bin/klist 500
   
update-alternatives --verbose --install /usr/bin/ktab ktab
/usr/local/lib/jdk/bin/ktab 500
   
update-alternatives --verbose --install /usr/bin/native2ascii
native2ascii /usr/local/lib/jdk/bin/native2ascii 500 --slave 
/usr/share/man/man1/native2ascii.1 native2ascii.1
/usr/local/lib/jdk/man/man1/native2ascii.1

update-alternatives --verbose --install /usr/bin/orbd orbd 
/usr/local/lib/jdk/bin/orbd 500 --slave /usr/share/man/man1/orbd.1
orbd.1 /usr/local/lib/jdk/man/man1/orbd.1
   
update-alternatives --verbose --install /usr/bin/policytool policytool
 /usr/local/lib/jdk/bin/policytool 500 --slave
/usr/share/man/man1/policytool.1 policytool.1 
/usr/local/lib/jdk/man/man1/policytool.1
   
update-alternatives --verbose --install /usr/bin/rmic rmic
/usr/local/lib/jdk/bin/rmic 500 --slave /usr/share/man/man1/rmic.1
rmic.1   /usr/local/lib/jdk/man/man1/rmic.1
   
update-alternatives --verbose --install /usr/bin/rmid rmid
/usr/local/lib/jdk/bin/rmid 500 --slave /usr/share/man/man1/rmid.1
rmid.1  /usr/local/lib/jdk/man/man1/rmid.1

update-alternatives --verbose --install /usr/bin/rmiregistry
rmiregistry  /usr/local/lib/jdk/bin/rmiregistry 500 --slave 
/usr/share/man/man1/rmiregistry.1 rmiregistry.1 
/usr/local/lib/jdk/man/man1/rmiregistry.1
   
update-alternatives --verbose --install /usr/bin/serialver serialver 
/usr/local/lib/jdk/bin/serialver 500 --slave 
/usr/share/man/man1/serialver.1 serialver.1 
/usr/local/lib/jdk/man/man1/serialver.1

update-alternatives --verbose --install /usr/bin/servertool servertool
  /usr/local/lib/jdk/bin/servertool 500 --slave 
/usr/share/man/man1/servertool.1 servertool.1  
/usr/local/lib/jdk/man/man1/servertool.1
   
update-alternatives --verbose --install /usr/bin/tnameserv tnameserv 
/usr/local/lib/jdk/bin/tnameserv 500 --slave 
/usr/share/man/man1/tnameserv.1 tnameserv.1 
/usr/local/lib/jdk/man/man1/tnameserv.1
#!/bin/sh

update-alternatives --verbose --install /usr/bin/appletviewer
appletviewer /usr/local/lib/jdk/bin/appletviewer 500 --slave
/usr/share/man/man1/appletviewer.1 appletviewer.1 
/usr/local/lib/jdk/man/man1/appletviewer.1
   
update-alternatives --verbose --install /usr/bin/ControlPanel
ControlPanel /usr/local/lib/jdk/bin/ControlPanel 500
                                                       
update-alternatives --verbose --install /usr/bin/extcheck extcheck
/usr/local/lib/jdk/bin/extcheck 500 --slave
/usr/share/man/man1/extcheck.1 extcheck.1
/usr/local/lib/jdk/man/man1/extcheck.1

update-alternatives --verbose --install /usr/bin/HtmlConverter
HtmlConverter /usr/local/lib/jdk/bin/HtmlConverter 500

update-alternatives --verbose --install /usr/bin/idlj idlj
/usr/local/lib/jdk/bin/idlj 500 --slave /usr/share/man/man1/idlj.1
idlj.1 /usr/local/lib/jdk/man/man1/idlj.1

update-alternatives --verbose --install /usr/bin/jar jar
/usr/local/lib/jdk/bin/jar 500 --slave /usr/share/man/man1/jar.1 jar.1
/usr/local/lib/jdk/man/man1/jar.1
   
update-alternatives --verbose --install /usr/bin/jarsigner jarsigner
/usr/local/lib/jdk/bin/jarsigner 500 --slave
/usr/share/man/man1/jarsigner.1 jarsigner.1 
/usr/local/lib/jdk/man/man1/jarsigner.1

update-alternatives --verbose --install /usr/bin/java java
/usr/local/lib/jdk/bin/java 500 --slave /usr/share/man/man1/java.1
java.1 /usr/local/lib/jdk/man/man1/java.1

update-alternatives --verbose --install /usr/bin/javac javac
/usr/local/lib/jdk/bin/javac 500 --slave /usr/share/man/man1/javac.1
javac.1 /usr/local/lib/jdk/man/man1/javac.1
   
update-alternatives --verbose --install /usr/bin/javadoc javadoc
/usr/local/lib/jdk/bin/javadoc 500 --slave
/usr/share/man/man1/javadoc.1 javadoc.1
/usr/local/lib/jdk/man/man1/javadoc.1
   
update-alternatives --verbose --install /usr/bin/javah javah
/usr/local/lib/jdk/bin/javah 500 --slave /usr/share/man/man1/javah.1
javah.1 /usr/local/lib/jdk/man/man1/javah.1
   
update-alternatives --verbose --install /usr/bin/javakey javakey 
/usr/local/lib/jdk/bin/keytool 500 --slave
/usr/share/man/man1/javakey.1 javakey.1
/usr/local/lib/jdk/man/man1/keytool.1
   
update-alternatives --verbose --install /usr/bin/javap javap
/usr/local/lib/jdk/bin/javap 500 --slave /usr/share/man/man1/javap.1
javap.1 /usr/local/lib/jdk/man/man1/javap.1
   
update-alternatives --verbose --install /usr/bin/java-rmi.cgi
java-rmi.cgi /usr/local/lib/jdk/bin/java-rmi.cgi 500
   
update-alternatives --verbose --install /usr/bin/jdb jdb
/usr/local/lib/jdk/bin/jdb 500 --slave /usr/share/man/man1/jdb.1 jdb.1
/usr/local/lib/jdk/man/man1/jdb.1
                                  
update-alternatives --verbose --install /usr/bin/keytool keytool
/usr/local/lib/jdk/bin/keytool 500 --slave
/usr/share/man/man1/keytool.1 keytool.1
/usr/local/lib/jdk/man/man1/keytool.1
   
update-alternatives --verbose --install /usr/bin/kinit kinit
/usr/local/lib/jdk/bin/kinit 500
                                   
update-alternatives --verbose --install /usr/bin/klist klist
/usr/local/lib/jdk/bin/klist 500
   
update-alternatives --verbose --install /usr/bin/ktab ktab
/usr/local/lib/jdk/bin/ktab 500
   
update-alternatives --verbose --install /usr/bin/native2ascii
native2ascii /usr/local/lib/jdk/bin/native2ascii 500 --slave 
/usr/share/man/man1/native2ascii.1 native2ascii.1
/usr/local/lib/jdk/man/man1/native2ascii.1

update-alternatives --verbose --install /usr/bin/orbd orbd 
/usr/local/lib/jdk/bin/orbd 500 --slave /usr/share/man/man1/orbd.1
orbd.1 /usr/local/lib/jdk/man/man1/orbd.1
   
update-alternatives --verbose --install /usr/bin/policytool policytool
 /usr/local/lib/jdk/bin/policytool 500 --slave
/usr/share/man/man1/policytool.1 policytool.1 
/usr/local/lib/jdk/man/man1/policytool.1
   
update-alternatives --verbose --install /usr/bin/rmic rmic
/usr/local/lib/jdk/bin/rmic 500 --slave /usr/share/man/man1/rmic.1
rmic.1   /usr/local/lib/jdk/man/man1/rmic.1
   
update-alternatives --verbose --install /usr/bin/rmid rmid
/usr/local/lib/jdk/bin/rmid 500 --slave /usr/share/man/man1/rmid.1
rmid.1  /usr/local/lib/jdk/man/man1/rmid.1

update-alternatives --verbose --install /usr/bin/rmiregistry
rmiregistry  /usr/local/lib/jdk/bin/rmiregistry 500 --slave 
/usr/share/man/man1/rmiregistry.1 rmiregistry.1 
/usr/local/lib/jdk/man/man1/rmiregistry.1
   
update-alternatives --verbose --install /usr/bin/serialver serialver 
/usr/local/lib/jdk/bin/serialver 500 --slave 
/usr/share/man/man1/serialver.1 serialver.1 
/usr/local/lib/jdk/man/man1/serialver.1

update-alternatives --verbose --install /usr/bin/servertool servertool
  /usr/local/lib/jdk/bin/servertool 500 --slave 
/usr/share/man/man1/servertool.1 servertool.1  
/usr/local/lib/jdk/man/man1/servertool.1
   
update-alternatives --verbose --install /usr/bin/tnameserv tnameserv 
/usr/local/lib/jdk/bin/tnameserv 500 --slave 
/usr/share/man/man1/tnameserv.1 tnameserv.1 
/usr/local/lib/jdk/man/man1/tnameserv.1
#!/bin/sh

update-alternatives --verbose --install /usr/bin/appletviewer
appletviewer /usr/local/lib/jdk/bin/appletviewer 500 --slave
/usr/share/man/man1/appletviewer.1 appletviewer.1 
/usr/local/lib/jdk/man/man1/appletviewer.1
   
update-alternatives --verbose --install /usr/bin/ControlPanel
ControlPanel /usr/local/lib/jdk/bin/ControlPanel 500
                                                       
update-alternatives --verbose --install /usr/bin/extcheck extcheck
/usr/local/lib/jdk/bin/extcheck 500 --slave
/usr/share/man/man1/extcheck.1 extcheck.1
/usr/local/lib/jdk/man/man1/extcheck.1

update-alternatives --verbose --install /usr/bin/HtmlConverter
HtmlConverter /usr/local/lib/jdk/bin/HtmlConverter 500

update-alternatives --verbose --install /usr/bin/idlj idlj
/usr/local/lib/jdk/bin/idlj 500 --slave /usr/share/man/man1/idlj.1
idlj.1 /usr/local/lib/jdk/man/man1/idlj.1

update-alternatives --verbose --install /usr/bin/jar jar
/usr/local/lib/jdk/bin/jar 500 --slave /usr/share/man/man1/jar.1 jar.1
/usr/local/lib/jdk/man/man1/jar.1
   
update-alternatives --verbose --install /usr/bin/jarsigner jarsigner
/usr/local/lib/jdk/bin/jarsigner 500 --slave
/usr/share/man/man1/jarsigner.1 jarsigner.1 
/usr/local/lib/jdk/man/man1/jarsigner.1

update-alternatives --verbose --install /usr/bin/java java
/usr/local/lib/jdk/bin/java 500 --slave /usr/share/man/man1/java.1
java.1 /usr/local/lib/jdk/man/man1/java.1

update-alternatives --verbose --install /usr/bin/javac javac
/usr/local/lib/jdk/bin/javac 500 --slave /usr/share/man/man1/javac.1
javac.1 /usr/local/lib/jdk/man/man1/javac.1
   
update-alternatives --verbose --install /usr/bin/javadoc javadoc
/usr/local/lib/jdk/bin/javadoc 500 --slave
/usr/share/man/man1/javadoc.1 javadoc.1
/usr/local/lib/jdk/man/man1/javadoc.1
   
update-alternatives --verbose --install /usr/bin/javah javah
/usr/local/lib/jdk/bin/javah 500 --slave /usr/share/man/man1/javah.1
javah.1 /usr/local/lib/jdk/man/man1/javah.1
   
update-alternatives --verbose --install /usr/bin/javakey javakey 
/usr/local/lib/jdk/bin/keytool 500 --slave
/usr/share/man/man1/javakey.1 javakey.1
/usr/local/lib/jdk/man/man1/keytool.1
   
update-alternatives --verbose --install /usr/bin/javap javap
/usr/local/lib/jdk/bin/javap 500 --slave /usr/share/man/man1/javap.1
javap.1 /usr/local/lib/jdk/man/man1/javap.1
   
update-alternatives --verbose --install /usr/bin/java-rmi.cgi
java-rmi.cgi /usr/local/lib/jdk/bin/java-rmi.cgi 500
   
update-alternatives --verbose --install /usr/bin/jdb jdb
/usr/local/lib/jdk/bin/jdb 500 --slave /usr/share/man/man1/jdb.1 jdb.1
/usr/local/lib/jdk/man/man1/jdb.1
                                  
update-alternatives --verbose --install /usr/bin/keytool keytool
/usr/local/lib/jdk/bin/keytool 500 --slave
/usr/share/man/man1/keytool.1 keytool.1
/usr/local/lib/jdk/man/man1/keytool.1
   
update-alternatives --verbose --install /usr/bin/kinit kinit
/usr/local/lib/jdk/bin/kinit 500
                                   
update-alternatives --verbose --install /usr/bin/klist klist
/usr/local/lib/jdk/bin/klist 500
   
update-alternatives --verbose --install /usr/bin/ktab ktab
/usr/local/lib/jdk/bin/ktab 500
   
update-alternatives --verbose --install /usr/bin/native2ascii
native2ascii /usr/local/lib/jdk/bin/native2ascii 500 --slave 
/usr/share/man/man1/native2ascii.1 native2ascii.1
/usr/local/lib/jdk/man/man1/native2ascii.1

update-alternatives --verbose --install /usr/bin/orbd orbd 
/usr/local/lib/jdk/bin/orbd 500 --slave /usr/share/man/man1/orbd.1
orbd.1 /usr/local/lib/jdk/man/man1/orbd.1
   
update-alternatives --verbose --install /usr/bin/policytool policytool
 /usr/local/lib/jdk/bin/policytool 500 --slave
/usr/share/man/man1/policytool.1 policytool.1 
/usr/local/lib/jdk/man/man1/policytool.1
   
update-alternatives --verbose --install /usr/bin/rmic rmic
/usr/local/lib/jdk/bin/rmic 500 --slave /usr/share/man/man1/rmic.1
rmic.1   /usr/local/lib/jdk/man/man1/rmic.1
   
update-alternatives --verbose --install /usr/bin/rmid rmid
/usr/local/lib/jdk/bin/rmid 500 --slave /usr/share/man/man1/rmid.1
rmid.1  /usr/local/lib/jdk/man/man1/rmid.1

update-alternatives --verbose --install /usr/bin/rmiregistry
rmiregistry  /usr/local/lib/jdk/bin/rmiregistry 500 --slave 
/usr/share/man/man1/rmiregistry.1 rmiregistry.1 
/usr/local/lib/jdk/man/man1/rmiregistry.1
   
update-alternatives --verbose --install /usr/bin/serialver serialver 
/usr/local/lib/jdk/bin/serialver 500 --slave 
/usr/share/man/man1/serialver.1 serialver.1 
/usr/local/lib/jdk/man/man1/serialver.1

update-alternatives --verbose --install /usr/bin/servertool servertool
  /usr/local/lib/jdk/bin/servertool 500 --slave 
/usr/share/man/man1/servertool.1 servertool.1  
/usr/local/lib/jdk/man/man1/servertool.1
   
update-alternatives --verbose --install /usr/bin/tnameserv tnameserv 
/usr/local/lib/jdk/bin/tnameserv 500 --slave 
/usr/share/man/man1/tnameserv.1 tnameserv.1 
/usr/local/lib/jdk/man/man1/tnameserv.1
#!/bin/sh

update-alternatives --verbose --install /usr/bin/appletviewer
appletviewer /usr/local/lib/jdk/bin/appletviewer 500 --slave
/usr/share/man/man1/appletviewer.1 appletviewer.1 
/usr/local/lib/jdk/man/man1/appletviewer.1
   
update-alternatives --verbose --install /usr/bin/ControlPanel
ControlPanel /usr/local/lib/jdk/bin/ControlPanel 500
                                                       
update-alternatives --verbose --install /usr/bin/extcheck extcheck
/usr/local/lib/jdk/bin/extcheck 500 --slave
/usr/share/man/man1/extcheck.1 extcheck.1
/usr/local/lib/jdk/man/man1/extcheck.1

update-alternatives --verbose --install /usr/bin/HtmlConverter
HtmlConverter /usr/local/lib/jdk/bin/HtmlConverter 500

update-alternatives --verbose --install /usr/bin/idlj idlj
/usr/local/lib/jdk/bin/idlj 500 --slave /usr/share/man/man1/idlj.1
idlj.1 /usr/local/lib/jdk/man/man1/idlj.1

update-alternatives --verbose --install /usr/bin/jar jar
/usr/local/lib/jdk/bin/jar 500 --slave /usr/share/man/man1/jar.1 jar.1
/usr/local/lib/jdk/man/man1/jar.1
   
update-alternatives --verbose --install /usr/bin/jarsigner jarsigner
/usr/local/lib/jdk/bin/jarsigner 500 --slave
/usr/share/man/man1/jarsigner.1 jarsigner.1 
/usr/local/lib/jdk/man/man1/jarsigner.1

update-alternatives --verbose --install /usr/bin/java java
/usr/local/lib/jdk/bin/java 500 --slave /usr/share/man/man1/java.1
java.1 /usr/local/lib/jdk/man/man1/java.1

update-alternatives --verbose --install /usr/bin/javac javac
/usr/local/lib/jdk/bin/javac 500 --slave /usr/share/man/man1/javac.1
javac.1 /usr/local/lib/jdk/man/man1/javac.1
   
update-alternatives --verbose --install /usr/bin/javadoc javadoc
/usr/local/lib/jdk/bin/javadoc 500 --slave
/usr/share/man/man1/javadoc.1 javadoc.1
/usr/local/lib/jdk/man/man1/javadoc.1
   
update-alternatives --verbose --install /usr/bin/javah javah
/usr/local/lib/jdk/bin/javah 500 --slave /usr/share/man/man1/javah.1
javah.1 /usr/local/lib/jdk/man/man1/javah.1
   
update-alternatives --verbose --install /usr/bin/javakey javakey 
/usr/local/lib/jdk/bin/keytool 500 --slave
/usr/share/man/man1/javakey.1 javakey.1
/usr/local/lib/jdk/man/man1/keytool.1
   
update-alternatives --verbose --install /usr/bin/javap javap
/usr/local/lib/jdk/bin/javap 500 --slave /usr/share/man/man1/javap.1
javap.1 /usr/local/lib/jdk/man/man1/javap.1
   
update-alternatives --verbose --install /usr/bin/java-rmi.cgi
java-rmi.cgi /usr/local/lib/jdk/bin/java-rmi.cgi 500
   
update-alternatives --verbose --install /usr/bin/jdb jdb
/usr/local/lib/jdk/bin/jdb 500 --slave /usr/share/man/man1/jdb.1 jdb.1
/usr/local/lib/jdk/man/man1/jdb.1
                                  
update-alternatives --verbose --install /usr/bin/keytool keytool
/usr/local/lib/jdk/bin/keytool 500 --slave
/usr/share/man/man1/keytool.1 keytool.1
/usr/local/lib/jdk/man/man1/keytool.1
   
update-alternatives --verbose --install /usr/bin/kinit kinit
/usr/local/lib/jdk/bin/kinit 500
                                   
update-alternatives --verbose --install /usr/bin/klist klist
/usr/local/lib/jdk/bin/klist 500
   
update-alternatives --verbose --install /usr/bin/ktab ktab
/usr/local/lib/jdk/bin/ktab 500
   
update-alternatives --verbose --install /usr/bin/native2ascii
native2ascii /usr/local/lib/jdk/bin/native2ascii 500 --slave 
/usr/share/man/man1/native2ascii.1 native2ascii.1
/usr/local/lib/jdk/man/man1/native2ascii.1

update-alternatives --verbose --install /usr/bin/orbd orbd 
/usr/local/lib/jdk/bin/orbd 500 --slave /usr/share/man/man1/orbd.1
orbd.1 /usr/local/lib/jdk/man/man1/orbd.1
   
update-alternatives --verbose --install /usr/bin/policytool policytool
 /usr/local/lib/jdk/bin/policytool 500 --slave
/usr/share/man/man1/policytool.1 policytool.1 
/usr/local/lib/jdk/man/man1/policytool.1
   
update-alternatives --verbose --install /usr/bin/rmic rmic
/usr/local/lib/jdk/bin/rmic 500 --slave /usr/share/man/man1/rmic.1
rmic.1   /usr/local/lib/jdk/man/man1/rmic.1
   
update-alternatives --verbose --install /usr/bin/rmid rmid
/usr/local/lib/jdk/bin/rmid 500 --slave /usr/share/man/man1/rmid.1
rmid.1  /usr/local/lib/jdk/man/man1/rmid.1

update-alternatives --verbose --install /usr/bin/rmiregistry
rmiregistry  /usr/local/lib/jdk/bin/rmiregistry 500 --slave 
/usr/share/man/man1/rmiregistry.1 rmiregistry.1 
/usr/local/lib/jdk/man/man1/rmiregistry.1
   
update-alternatives --verbose --install /usr/bin/serialver serialver 
/usr/local/lib/jdk/bin/serialver 500 --slave 
/usr/share/man/man1/serialver.1 serialver.1 
/usr/local/lib/jdk/man/man1/serialver.1

update-alternatives --verbose --install /usr/bin/servertool servertool
  /usr/local/lib/jdk/bin/servertool 500 --slave 
/usr/share/man/man1/servertool.1 servertool.1  
/usr/local/lib/jdk/man/man1/servertool.1
   
update-alternatives --verbose --install /usr/bin/tnameserv tnameserv 
/usr/local/lib/jdk/bin/tnameserv 500 --slave 
/usr/share/man/man1/tnameserv.1 tnameserv.1 
/usr/local/lib/jdk/man/man1/tnameserv.1
#!/bin/sh

update-alternatives --verbose --install /usr/bin/appletviewer
appletviewer /usr/local/lib/jdk/bin/appletviewer 500 --slave
/usr/share/man/man1/appletviewer.1 appletviewer.1 
/usr/local/lib/jdk/man/man1/appletviewer.1
   
update-alternatives --verbose --install /usr/bin/ControlPanel
ControlPanel /usr/local/lib/jdk/bin/ControlPanel 500
                                                       
update-alternatives --verbose --install /usr/bin/extcheck extcheck
/usr/local/lib/jdk/bin/extcheck 500 --slave
/usr/share/man/man1/extcheck.1 extcheck.1
/usr/local/lib/jdk/man/man1/extcheck.1

update-alternatives --verbose --install /usr/bin/HtmlConverter
HtmlConverter /usr/local/lib/jdk/bin/HtmlConverter 500

update-alternatives --verbose --install /usr/bin/idlj idlj
/usr/local/lib/jdk/bin/idlj 500 --slave /usr/share/man/man1/idlj.1
idlj.1 /usr/local/lib/jdk/man/man1/idlj.1

update-alternatives --verbose --install /usr/bin/jar jar
/usr/local/lib/jdk/bin/jar 500 --slave /usr/share/man/man1/jar.1 jar.1
/usr/local/lib/jdk/man/man1/jar.1
   
update-alternatives --verbose --install /usr/bin/jarsigner jarsigner
/usr/local/lib/jdk/bin/jarsigner 500 --slave
/usr/share/man/man1/jarsigner.1 jarsigner.1 
/usr/local/lib/jdk/man/man1/jarsigner.1

update-alternatives --verbose --install /usr/bin/java java
/usr/local/lib/jdk/bin/java 500 --slave /usr/share/man/man1/java.1
java.1 /usr/local/lib/jdk/man/man1/java.1

update-alternatives --verbose --install /usr/bin/javac javac
/usr/local/lib/jdk/bin/javac 500 --slave /usr/share/man/man1/javac.1
javac.1 /usr/local/lib/jdk/man/man1/javac.1
   
update-alternatives --verbose --install /usr/bin/javadoc javadoc
/usr/local/lib/jdk/bin/javadoc 500 --slave
/usr/share/man/man1/javadoc.1 javadoc.1
/usr/local/lib/jdk/man/man1/javadoc.1
   
update-alternatives --verbose --install /usr/bin/javah javah
/usr/local/lib/jdk/bin/javah 500 --slave /usr/share/man/man1/javah.1
javah.1 /usr/local/lib/jdk/man/man1/javah.1
   
update-alternatives --verbose --install /usr/bin/javakey javakey 
/usr/local/lib/jdk/bin/keytool 500 --slave
/usr/share/man/man1/javakey.1 javakey.1
/usr/local/lib/jdk/man/man1/keytool.1
   
update-alternatives --verbose --install /usr/bin/javap javap
/usr/local/lib/jdk/bin/javap 500 --slave /usr/share/man/man1/javap.1
javap.1 /usr/local/lib/jdk/man/man1/javap.1
   
update-alternatives --verbose --install /usr/bin/java-rmi.cgi
java-rmi.cgi /usr/local/lib/jdk/bin/java-rmi.cgi 500
   
update-alternatives --verbose --install /usr/bin/jdb jdb
/usr/local/lib/jdk/bin/jdb 500 --slave /usr/share/man/man1/jdb.1 jdb.1
/usr/local/lib/jdk/man/man1/jdb.1
                                  
update-alternatives --verbose --install /usr/bin/keytool keytool
/usr/local/lib/jdk/bin/keytool 500 --slave
/usr/share/man/man1/keytool.1 keytool.1
/usr/local/lib/jdk/man/man1/keytool.1
   
update-alternatives --verbose --install /usr/bin/kinit kinit
/usr/local/lib/jdk/bin/kinit 500
                                   
update-alternatives --verbose --install /usr/bin/klist klist
/usr/local/lib/jdk/bin/klist 500
   
update-alternatives --verbose --install /usr/bin/ktab ktab
/usr/local/lib/jdk/bin/ktab 500
   
update-alternatives --verbose --install /usr/bin/native2ascii
native2ascii /usr/local/lib/jdk/bin/native2ascii 500 --slave 
/usr/share/man/man1/native2ascii.1 native2ascii.1
/usr/local/lib/jdk/man/man1/native2ascii.1

update-alternatives --verbose --install /usr/bin/orbd orbd 
/usr/local/lib/jdk/bin/orbd 500 --slave /usr/share/man/man1/orbd.1
orbd.1 /usr/local/lib/jdk/man/man1/orbd.1
   
update-alternatives --verbose --install /usr/bin/policytool policytool
 /usr/local/lib/jdk/bin/policytool 500 --slave
/usr/share/man/man1/policytool.1 policytool.1 
/usr/local/lib/jdk/man/man1/policytool.1
   
update-alternatives --verbose --install /usr/bin/rmic rmic
/usr/local/lib/jdk/bin/rmic 500 --slave /usr/share/man/man1/rmic.1
rmic.1   /usr/local/lib/jdk/man/man1/rmic.1
   
update-alternatives --verbose --install /usr/bin/rmid rmid
/usr/local/lib/jdk/bin/rmid 500 --slave /usr/share/man/man1/rmid.1
rmid.1  /usr/local/lib/jdk/man/man1/rmid.1

update-alternatives --verbose --install /usr/bin/rmiregistry
rmiregistry  /usr/local/lib/jdk/bin/rmiregistry 500 --slave 
/usr/share/man/man1/rmiregistry.1 rmiregistry.1 
/usr/local/lib/jdk/man/man1/rmiregistry.1
   
update-alternatives --verbose --install /usr/bin/serialver serialver 
/usr/local/lib/jdk/bin/serialver 500 --slave 
/usr/share/man/man1/serialver.1 serialver.1 
/usr/local/lib/jdk/man/man1/serialver.1

update-alternatives --verbose --install /usr/bin/servertool servertool
  /usr/local/lib/jdk/bin/servertool 500 --slave 
/usr/share/man/man1/servertool.1 servertool.1  
/usr/local/lib/jdk/man/man1/servertool.1
   
update-alternatives --verbose --install /usr/bin/tnameserv tnameserv 
/usr/local/lib/jdk/bin/tnameserv 500 --slave 
/usr/share/man/man1/tnameserv.1 tnameserv.1 
/usr/local/lib/jdk/man/man1/tnameserv.1
#!/bin/sh

update-alternatives --verbose --install /usr/bin/appletviewer
appletviewer /usr/local/lib/jdk/bin/appletviewer 500 --slave
/usr/share/man/man1/appletviewer.1 appletviewer.1 
/usr/local/lib/jdk/man/man1/appletviewer.1
   
update-alternatives --verbose --install /usr/bin/ControlPanel
ControlPanel /usr/local/lib/jdk/bin/ControlPanel 500
                                                       
update-alternatives --verbose --install /usr/bin/extcheck extcheck
/usr/local/lib/jdk/bin/extcheck 500 --slave
/usr/share/man/man1/extcheck.1 extcheck.1
/usr/local/lib/jdk/man/man1/extcheck.1

update-alternatives --verbose --install /usr/bin/HtmlConverter
HtmlConverter /usr/local/lib/jdk/bin/HtmlConverter 500

update-alternatives --verbose --install /usr/bin/idlj idlj
/usr/local/lib/jdk/bin/idlj 500 --slave /usr/share/man/man1/idlj.1
idlj.1 /usr/local/lib/jdk/man/man1/idlj.1

update-alternatives --verbose --install /usr/bin/jar jar
/usr/local/lib/jdk/bin/jar 500 --slave /usr/share/man/man1/jar.1 jar.1
/usr/local/lib/jdk/man/man1/jar.1
   
update-alternatives --verbose --install /usr/bin/jarsigner jarsigner
/usr/local/lib/jdk/bin/jarsigner 500 --slave
/usr/share/man/man1/jarsigner.1 jarsigner.1 
/usr/local/lib/jdk/man/man1/jarsigner.1

update-alternatives --verbose --install /usr/bin/java java
/usr/local/lib/jdk/bin/java 500 --slave /usr/share/man/man1/java.1
java.1 /usr/local/lib/jdk/man/man1/java.1

update-alternatives --verbose --install /usr/bin/javac javac
/usr/local/lib/jdk/bin/javac 500 --slave /usr/share/man/man1/javac.1
javac.1 /usr/local/lib/jdk/man/man1/javac.1
   
update-alternatives --verbose --install /usr/bin/javadoc javadoc
/usr/local/lib/jdk/bin/javadoc 500 --slave
/usr/share/man/man1/javadoc.1 javadoc.1
/usr/local/lib/jdk/man/man1/javadoc.1
   
update-alternatives --verbose --install /usr/bin/javah javah
/usr/local/lib/jdk/bin/javah 500 --slave /usr/share/man/man1/javah.1
javah.1 /usr/local/lib/jdk/man/man1/javah.1
   
update-alternatives --verbose --install /usr/bin/javakey javakey 
/usr/local/lib/jdk/bin/keytool 500 --slave
/usr/share/man/man1/javakey.1 javakey.1
/usr/local/lib/jdk/man/man1/keytool.1
   
update-alternatives --verbose --install /usr/bin/javap javap
/usr/local/lib/jdk/bin/javap 500 --slave /usr/share/man/man1/javap.1
javap.1 /usr/local/lib/jdk/man/man1/javap.1
   
update-alternatives --verbose --install /usr/bin/java-rmi.cgi
java-rmi.cgi /usr/local/lib/jdk/bin/java-rmi.cgi 500
   
update-alternatives --verbose --install /usr/bin/jdb jdb
/usr/local/lib/jdk/bin/jdb 500 --slave /usr/share/man/man1/jdb.1 jdb.1
/usr/local/lib/jdk/man/man1/jdb.1
                                  
update-alternatives --verbose --install /usr/bin/keytool keytool
/usr/local/lib/jdk/bin/keytool 500 --slave
/usr/share/man/man1/keytool.1 keytool.1
/usr/local/lib/jdk/man/man1/keytool.1
   
update-alternatives --verbose --install /usr/bin/kinit kinit
/usr/local/lib/jdk/bin/kinit 500
                                   
update-alternatives --verbose --install /usr/bin/klist klist
/usr/local/lib/jdk/bin/klist 500
   
update-alternatives --verbose --install /usr/bin/ktab ktab
/usr/local/lib/jdk/bin/ktab 500
   
update-alternatives --verbose --install /usr/bin/native2ascii
native2ascii /usr/local/lib/jdk/bin/native2ascii 500 --slave 
/usr/share/man/man1/native2ascii.1 native2ascii.1
/usr/local/lib/jdk/man/man1/native2ascii.1

update-alternatives --verbose --install /usr/bin/orbd orbd 
/usr/local/lib/jdk/bin/orbd 500 --slave /usr/share/man/man1/orbd.1
orbd.1 /usr/local/lib/jdk/man/man1/orbd.1
   
update-alternatives --verbose --install /usr/bin/policytool policytool
 /usr/local/lib/jdk/bin/policytool 500 --slave
/usr/share/man/man1/policytool.1 policytool.1 
/usr/local/lib/jdk/man/man1/policytool.1
   
update-alternatives --verbose --install /usr/bin/rmic rmic
/usr/local/lib/jdk/bin/rmic 500 --slave /usr/share/man/man1/rmic.1
rmic.1   /usr/local/lib/jdk/man/man1/rmic.1
   
update-alternatives --verbose --install /usr/bin/rmid rmid
/usr/local/lib/jdk/bin/rmid 500 --slave /usr/share/man/man1/rmid.1
rmid.1  /usr/local/lib/jdk/man/man1/rmid.1

update-alternatives --verbose --install /usr/bin/rmiregistry
rmiregistry  /usr/local/lib/jdk/bin/rmiregistry 500 --slave 
/usr/share/man/man1/rmiregistry.1 rmiregistry.1 
/usr/local/lib/jdk/man/man1/rmiregistry.1
   
update-alternatives --verbose --install /usr/bin/serialver serialver 
/usr/local/lib/jdk/bin/serialver 500 --slave 
/usr/share/man/man1/serialver.1 serialver.1 
/usr/local/lib/jdk/man/man1/serialver.1

update-alternatives --verbose --install /usr/bin/servertool servertool
  /usr/local/lib/jdk/bin/servertool 500 --slave 
/usr/share/man/man1/servertool.1 servertool.1  
/usr/local/lib/jdk/man/man1/servertool.1
   
update-alternatives --verbose --install /usr/bin/tnameserv tnameserv 
/usr/local/lib/jdk/bin/tnameserv 500 --slave 
/usr/share/man/man1/tnameserv.1 tnameserv.1 
/usr/local/lib/jdk/man/man1/tnameserv.1
#!/bin/sh

update-alternatives --verbose --install /usr/bin/appletviewer
appletviewer /usr/local/lib/jdk/bin/appletviewer 500 --slave
/usr/share/man/man1/appletviewer.1 appletviewer.1 
/usr/local/lib/jdk/man/man1/appletviewer.1
   
update-alternatives --verbose --install /usr/bin/ControlPanel
ControlPanel /usr/local/lib/jdk/bin/ControlPanel 500
                                                       
update-alternatives --verbose --install /usr/bin/extcheck extcheck
/usr/local/lib/jdk/bin/extcheck 500 --slave
/usr/share/man/man1/extcheck.1 extcheck.1
/usr/local/lib/jdk/man/man1/extcheck.1

update-alternatives --verbose --install /usr/bin/HtmlConverter
HtmlConverter /usr/local/lib/jdk/bin/HtmlConverter 500

update-alternatives --verbose --install /usr/bin/idlj idlj
/usr/local/lib/jdk/bin/idlj 500 --slave /usr/share/man/man1/idlj.1
idlj.1 /usr/local/lib/jdk/man/man1/idlj.1

update-alternatives --verbose --install /usr/bin/jar jar
/usr/local/lib/jdk/bin/jar 500 --slave /usr/share/man/man1/jar.1 jar.1
/usr/local/lib/jdk/man/man1/jar.1
   
update-alternatives --verbose --install /usr/bin/jarsigner jarsigner
/usr/local/lib/jdk/bin/jarsigner 500 --slave
/usr/share/man/man1/jarsigner.1 jarsigner.1 
/usr/local/lib/jdk/man/man1/jarsigner.1

update-alternatives --verbose --install /usr/bin/java java
/usr/local/lib/jdk/bin/java 500 --slave /usr/share/man/man1/java.1
java.1 /usr/local/lib/jdk/man/man1/java.1

update-alternatives --verbose --install /usr/bin/javac javac
/usr/local/lib/jdk/bin/javac 500 --slave /usr/share/man/man1/javac.1
javac.1 /usr/local/lib/jdk/man/man1/javac.1
   
update-alternatives --verbose --install /usr/bin/javadoc javadoc
/usr/local/lib/jdk/bin/javadoc 500 --slave
/usr/share/man/man1/javadoc.1 javadoc.1
/usr/local/lib/jdk/man/man1/javadoc.1
   
update-alternatives --verbose --install /usr/bin/javah javah
/usr/local/lib/jdk/bin/javah 500 --slave /usr/share/man/man1/javah.1
javah.1 /usr/local/lib/jdk/man/man1/javah.1
   
update-alternatives --verbose --install /usr/bin/javakey javakey 
/usr/local/lib/jdk/bin/keytool 500 --slave
/usr/share/man/man1/javakey.1 javakey.1
/usr/local/lib/jdk/man/man1/keytool.1
   
update-alternatives --verbose --install /usr/bin/javap javap
/usr/local/lib/jdk/bin/javap 500 --slave /usr/share/man/man1/javap.1
javap.1 /usr/local/lib/jdk/man/man1/javap.1
   
update-alternatives --verbose --install /usr/bin/java-rmi.cgi
java-rmi.cgi /usr/local/lib/jdk/bin/java-rmi.cgi 500
   
update-alternatives --verbose --install /usr/bin/jdb jdb
/usr/local/lib/jdk/bin/jdb 500 --slave /usr/share/man/man1/jdb.1 jdb.1
/usr/local/lib/jdk/man/man1/jdb.1
                                  
update-alternatives --verbose --install /usr/bin/keytool keytool
/usr/local/lib/jdk/bin/keytool 500 --slave
/usr/share/man/man1/keytool.1 keytool.1
/usr/local/lib/jdk/man/man1/keytool.1
   
update-alternatives --verbose --install /usr/bin/kinit kinit
/usr/local/lib/jdk/bin/kinit 500
                                   
update-alternatives --verbose --install /usr/bin/klist klist
/usr/local/lib/jdk/bin/klist 500
   
update-alternatives --verbose --install /usr/bin/ktab ktab
/usr/local/lib/jdk/bin/ktab 500
   
update-alternatives --verbose --install /usr/bin/native2ascii
native2ascii /usr/local/lib/jdk/bin/native2ascii 500 --slave 
/usr/share/man/man1/native2ascii.1 native2ascii.1
/usr/local/lib/jdk/man/man1/native2ascii.1

update-alternatives --verbose --install /usr/bin/orbd orbd 
/usr/local/lib/jdk/bin/orbd 500 --slave /usr/share/man/man1/orbd.1
orbd.1 /usr/local/lib/jdk/man/man1/orbd.1
   
update-alternatives --verbose --install /usr/bin/policytool policytool
 /usr/local/lib/jdk/bin/policytool 500 --slave
/usr/share/man/man1/policytool.1 policytool.1 
/usr/local/lib/jdk/man/man1/policytool.1
   
update-alternatives --verbose --install /usr/bin/rmic rmic
/usr/local/lib/jdk/bin/rmic 500 --slave /usr/share/man/man1/rmic.1
rmic.1   /usr/local/lib/jdk/man/man1/rmic.1
   
update-alternatives --verbose --install /usr/bin/rmid rmid
/usr/local/lib/jdk/bin/rmid 500 --slave /usr/share/man/man1/rmid.1
rmid.1  /usr/local/lib/jdk/man/man1/rmid.1

update-alternatives --verbose --install /usr/bin/rmiregistry
rmiregistry  /usr/local/lib/jdk/bin/rmiregistry 500 --slave 
/usr/share/man/man1/rmiregistry.1 rmiregistry.1 
/usr/local/lib/jdk/man/man1/rmiregistry.1
   
update-alternatives --verbose --install /usr/bin/serialver serialver 
/usr/local/lib/jdk/bin/serialver 500 --slave 
/usr/share/man/man1/serialver.1 serialver.1 
/usr/local/lib/jdk/man/man1/serialver.1

update-alternatives --verbose --install /usr/bin/servertool servertool
  /usr/local/lib/jdk/bin/servertool 500 --slave 
/usr/share/man/man1/servertool.1 servertool.1  
/usr/local/lib/jdk/man/man1/servertool.1
   
update-alternatives --verbose --install /usr/bin/tnameserv tnameserv 
/usr/local/lib/jdk/bin/tnameserv 500 --slave 
/usr/share/man/man1/tnameserv.1 tnameserv.1 
/usr/local/lib/jdk/man/man1/tnameserv.1
#!/bin/sh

update-alternatives --verbose --install /usr/bin/appletviewer
appletviewer /usr/local/lib/jdk/bin/appletviewer 500 --slave
/usr/share/man/man1/appletviewer.1 appletviewer.1 
/usr/local/lib/jdk/man/man1/appletviewer.1
   
update-alternatives --verbose --install /usr/bin/ControlPanel
ControlPanel /usr/local/lib/jdk/bin/ControlPanel 500
                                                       
update-alternatives --verbose --install /usr/bin/extcheck extcheck
/usr/local/lib/jdk/bin/extcheck 500 --slave
/usr/share/man/man1/extcheck.1 extcheck.1
/usr/local/lib/jdk/man/man1/extcheck.1

update-alternatives --verbose --install /usr/bin/HtmlConverter
HtmlConverter /usr/local/lib/jdk/bin/HtmlConverter 500

update-alternatives --verbose --install /usr/bin/idlj idlj
/usr/local/lib/jdk/bin/idlj 500 --slave /usr/share/man/man1/idlj.1
idlj.1 /usr/local/lib/jdk/man/man1/idlj.1

update-alternatives --verbose --install /usr/bin/jar jar
/usr/local/lib/jdk/bin/jar 500 --slave /usr/share/man/man1/jar.1 jar.1
/usr/local/lib/jdk/man/man1/jar.1
   
update-alternatives --verbose --install /usr/bin/jarsigner jarsigner
/usr/local/lib/jdk/bin/jarsigner 500 --slave
/usr/share/man/man1/jarsigner.1 jarsigner.1 
/usr/local/lib/jdk/man/man1/jarsigner.1

update-alternatives --verbose --install /usr/bin/java java
/usr/local/lib/jdk/bin/java 500 --slave /usr/share/man/man1/java.1
java.1 /usr/local/lib/jdk/man/man1/java.1

update-alternatives --verbose --install /usr/bin/javac javac
/usr/local/lib/jdk/bin/javac 500 --slave /usr/share/man/man1/javac.1
javac.1 /usr/local/lib/jdk/man/man1/javac.1
   
update-alternatives --verbose --install /usr/bin/javadoc javadoc
/usr/local/lib/jdk/bin/javadoc 500 --slave
/usr/share/man/man1/javadoc.1 javadoc.1
/usr/local/lib/jdk/man/man1/javadoc.1
   
update-alternatives --verbose --install /usr/bin/javah javah
/usr/local/lib/jdk/bin/javah 500 --slave /usr/share/man/man1/javah.1
javah.1 /usr/local/lib/jdk/man/man1/javah.1
   
update-alternatives --verbose --install /usr/bin/javakey javakey 
/usr/local/lib/jdk/bin/keytool 500 --slave
/usr/share/man/man1/javakey.1 javakey.1
/usr/local/lib/jdk/man/man1/keytool.1
   
update-alternatives --verbose --install /usr/bin/javap javap
/usr/local/lib/jdk/bin/javap 500 --slave /usr/share/man/man1/javap.1
javap.1 /usr/local/lib/jdk/man/man1/javap.1
   
update-alternatives --verbose --install /usr/bin/java-rmi.cgi
java-rmi.cgi /usr/local/lib/jdk/bin/java-rmi.cgi 500
   
update-alternatives --verbose --install /usr/bin/jdb jdb
/usr/local/lib/jdk/bin/jdb 500 --slave /usr/share/man/man1/jdb.1 jdb.1
/usr/local/lib/jdk/man/man1/jdb.1
                                  
update-alternatives --verbose --install /usr/bin/keytool keytool
/usr/local/lib/jdk/bin/keytool 500 --slave
/usr/share/man/man1/keytool.1 keytool.1
/usr/local/lib/jdk/man/man1/keytool.1
   
update-alternatives --verbose --install /usr/bin/kinit kinit
/usr/local/lib/jdk/bin/kinit 500
                                   
update-alternatives --verbose --install /usr/bin/klist klist
/usr/local/lib/jdk/bin/klist 500
   
update-alternatives --verbose --install /usr/bin/ktab ktab
/usr/local/lib/jdk/bin/ktab 500
   
update-alternatives --verbose --install /usr/bin/native2ascii
native2ascii /usr/local/lib/jdk/bin/native2ascii 500 --slave 
/usr/share/man/man1/native2ascii.1 native2ascii.1
/usr/local/lib/jdk/man/man1/native2ascii.1

update-alternatives --verbose --install /usr/bin/orbd orbd 
/usr/local/lib/jdk/bin/orbd 500 --slave /usr/share/man/man1/orbd.1
orbd.1 /usr/local/lib/jdk/man/man1/orbd.1
   
update-alternatives --verbose --install /usr/bin/policytool policytool
 /usr/local/lib/jdk/bin/policytool 500 --slave
/usr/share/man/man1/policytool.1 policytool.1 
/usr/local/lib/jdk/man/man1/policytool.1
   
update-alternatives --verbose --install /usr/bin/rmic rmic
/usr/local/lib/jdk/bin/rmic 500 --slave /usr/share/man/man1/rmic.1
rmic.1   /usr/local/lib/jdk/man/man1/rmic.1
   
update-alternatives --verbose --install /usr/bin/rmid rmid
/usr/local/lib/jdk/bin/rmid 500 --slave /usr/share/man/man1/rmid.1
rmid.1  /usr/local/lib/jdk/man/man1/rmid.1

update-alternatives --verbose --install /usr/bin/rmiregistry
rmiregistry  /usr/local/lib/jdk/bin/rmiregistry 500 --slave 
/usr/share/man/man1/rmiregistry.1 rmiregistry.1 
/usr/local/lib/jdk/man/man1/rmiregistry.1
   
update-alternatives --verbose --install /usr/bin/serialver serialver 
/usr/local/lib/jdk/bin/serialver 500 --slave 
/usr/share/man/man1/serialver.1 serialver.1 
/usr/local/lib/jdk/man/man1/serialver.1

update-alternatives --verbose --install /usr/bin/servertool servertool
  /usr/local/lib/jdk/bin/servertool 500 --slave 
/usr/share/man/man1/servertool.1 servertool.1  
/usr/local/lib/jdk/man/man1/servertool.1
   
update-alternatives --verbose --install /usr/bin/tnameserv tnameserv 
/usr/local/lib/jdk/bin/tnameserv 500 --slave 
/usr/share/man/man1/tnameserv.1 tnameserv.1 
/usr/local/lib/jdk/man/man1/tnameserv.1
#!/bin/sh

update-alternatives --verbose --install /usr/bin/appletviewer
appletviewer /usr/local/lib/jdk/bin/appletviewer 500 --slave
/usr/share/man/man1/appletviewer.1 appletviewer.1 
/usr/local/lib/jdk/man/man1/appletviewer.1
   
update-alternatives --verbose --install /usr/bin/ControlPanel
ControlPanel /usr/local/lib/jdk/bin/ControlPanel 500
                                                       
update-alternatives --verbose --install /usr/bin/extcheck extcheck
/usr/local/lib/jdk/bin/extcheck 500 --slave
/usr/share/man/man1/extcheck.1 extcheck.1
/usr/local/lib/jdk/man/man1/extcheck.1

update-alternatives --verbose --install /usr/bin/HtmlConverter
HtmlConverter /usr/local/lib/jdk/bin/HtmlConverter 500

update-alternatives --verbose --install /usr/bin/idlj idlj
/usr/local/lib/jdk/bin/idlj 500 --slave /usr/share/man/man1/idlj.1
idlj.1 /usr/local/lib/jdk/man/man1/idlj.1

update-alternatives --verbose --install /usr/bin/jar jar
/usr/local/lib/jdk/bin/jar 500 --slave /usr/share/man/man1/jar.1 jar.1
/usr/local/lib/jdk/man/man1/jar.1
   
update-alternatives --verbose --install /usr/bin/jarsigner jarsigner
/usr/local/lib/jdk/bin/jarsigner 500 --slave
/usr/share/man/man1/jarsigner.1 jarsigner.1 
/usr/local/lib/jdk/man/man1/jarsigner.1

update-alternatives --verbose --install /usr/bin/java java
/usr/local/lib/jdk/bin/java 500 --slave /usr/share/man/man1/java.1
java.1 /usr/local/lib/jdk/man/man1/java.1

update-alternatives --verbose --install /usr/bin/javac javac
/usr/local/lib/jdk/bin/javac 500 --slave /usr/share/man/man1/javac.1
javac.1 /usr/local/lib/jdk/man/man1/javac.1
   
update-alternatives --verbose --install /usr/bin/javadoc javadoc
/usr/local/lib/jdk/bin/javadoc 500 --slave
/usr/share/man/man1/javadoc.1 javadoc.1
/usr/local/lib/jdk/man/man1/javadoc.1
   
update-alternatives --verbose --install /usr/bin/javah javah
/usr/local/lib/jdk/bin/javah 500 --slave /usr/share/man/man1/javah.1
javah.1 /usr/local/lib/jdk/man/man1/javah.1
   
update-alternatives --verbose --install /usr/bin/javakey javakey 
/usr/local/lib/jdk/bin/keytool 500 --slave
/usr/share/man/man1/javakey.1 javakey.1
/usr/local/lib/jdk/man/man1/keytool.1
   
update-alternatives --verbose --install /usr/bin/javap javap
/usr/local/lib/jdk/bin/javap 500 --slave /usr/share/man/man1/javap.1
javap.1 /usr/local/lib/jdk/man/man1/javap.1
   
update-alternatives --verbose --install /usr/bin/java-rmi.cgi
java-rmi.cgi /usr/local/lib/jdk/bin/java-rmi.cgi 500
   
update-alternatives --verbose --install /usr/bin/jdb jdb
/usr/local/lib/jdk/bin/jdb 500 --slave /usr/share/man/man1/jdb.1 jdb.1
/usr/local/lib/jdk/man/man1/jdb.1
                                  
update-alternatives --verbose --install /usr/bin/keytool keytool
/usr/local/lib/jdk/bin/keytool 500 --slave
/usr/share/man/man1/keytool.1 keytool.1
/usr/local/lib/jdk/man/man1/keytool.1
   
update-alternatives --verbose --install /usr/bin/kinit kinit
/usr/local/lib/jdk/bin/kinit 500
                                   
update-alternatives --verbose --install /usr/bin/klist klist
/usr/local/lib/jdk/bin/klist 500
   
update-alternatives --verbose --install /usr/bin/ktab ktab
/usr/local/lib/jdk/bin/ktab 500
   
update-alternatives --verbose --install /usr/bin/native2ascii
native2ascii /usr/local/lib/jdk/bin/native2ascii 500 --slave 
/usr/share/man/man1/native2ascii.1 native2ascii.1
/usr/local/lib/jdk/man/man1/native2ascii.1

update-alternatives --verbose --install /usr/bin/orbd orbd 
/usr/local/lib/jdk/bin/orbd 500 --slave /usr/share/man/man1/orbd.1
orbd.1 /usr/local/lib/jdk/man/man1/orbd.1
   
update-alternatives --verbose --install /usr/bin/policytool policytool
 /usr/local/lib/jdk/bin/policytool 500 --slave
/usr/share/man/man1/policytool.1 policytool.1 
/usr/local/lib/jdk/man/man1/policytool.1
   
update-alternatives --verbose --install /usr/bin/rmic rmic
/usr/local/lib/jdk/bin/rmic 500 --slave /usr/share/man/man1/rmic.1
rmic.1   /usr/local/lib/jdk/man/man1/rmic.1
   
update-alternatives --verbose --install /usr/bin/rmid rmid
/usr/local/lib/jdk/bin/rmid 500 --slave /usr/share/man/man1/rmid.1
rmid.1  /usr/local/lib/jdk/man/man1/rmid.1

update-alternatives --verbose --install /usr/bin/rmiregistry
rmiregistry  /usr/local/lib/jdk/bin/rmiregistry 500 --slave 
/usr/share/man/man1/rmiregistry.1 rmiregistry.1 
/usr/local/lib/jdk/man/man1/rmiregistry.1
   
update-alternatives --verbose --install /usr/bin/serialver serialver 
/usr/local/lib/jdk/bin/serialver 500 --slave 
/usr/share/man/man1/serialver.1 serialver.1 
/usr/local/lib/jdk/man/man1/serialver.1

update-alternatives --verbose --install /usr/bin/servertool servertool
  /usr/local/lib/jdk/bin/servertool 500 --slave 
/usr/share/man/man1/servertool.1 servertool.1  
/usr/local/lib/jdk/man/man1/servertool.1
   
update-alternatives --verbose --install /usr/bin/tnameserv tnameserv 
/usr/local/lib/jdk/bin/tnameserv 500 --slave 
/usr/share/man/man1/tnameserv.1 tnameserv.1 
/usr/local/lib/jdk/man/man1/tnameserv.1
#!/bin/sh

update-alternatives --verbose --install /usr/bin/appletviewer
appletviewer /usr/local/lib/jdk/bin/appletviewer 500 --slave
/usr/share/man/man1/appletviewer.1 appletviewer.1 
/usr/local/lib/jdk/man/man1/appletviewer.1
   
update-alternatives --verbose --install /usr/bin/ControlPanel
ControlPanel /usr/local/lib/jdk/bin/ControlPanel 500
                                                       
update-alternatives --verbose --install /usr/bin/extcheck extcheck
/usr/local/lib/jdk/bin/extcheck 500 --slave
/usr/share/man/man1/extcheck.1 extcheck.1
/usr/local/lib/jdk/man/man1/extcheck.1

update-alternatives --verbose --install /usr/bin/HtmlConverter
HtmlConverter /usr/local/lib/jdk/bin/HtmlConverter 500

update-alternatives --verbose --install /usr/bin/idlj idlj
/usr/local/lib/jdk/bin/idlj 500 --slave /usr/share/man/man1/idlj.1
idlj.1 /usr/local/lib/jdk/man/man1/idlj.1

update-alternatives --verbose --install /usr/bin/jar jar
/usr/local/lib/jdk/bin/jar 500 --slave /usr/share/man/man1/jar.1 jar.1
/usr/local/lib/jdk/man/man1/jar.1
   
update-alternatives --verbose --install /usr/bin/jarsigner jarsigner
/usr/local/lib/jdk/bin/jarsigner 500 --slave
/usr/share/man/man1/jarsigner.1 jarsigner.1 
/usr/local/lib/jdk/man/man1/jarsigner.1

update-alternatives --verbose --install /usr/bin/java java
/usr/local/lib/jdk/bin/java 500 --slave /usr/share/man/man1/java.1
java.1 /usr/local/lib/jdk/man/man1/java.1

update-alternatives --verbose --install /usr/bin/javac javac
/usr/local/lib/jdk/bin/javac 500 --slave /usr/share/man/man1/javac.1
javac.1 /usr/local/lib/jdk/man/man1/javac.1
   
update-alternatives --verbose --install /usr/bin/javadoc javadoc
/usr/local/lib/jdk/bin/javadoc 500 --slave
/usr/share/man/man1/javadoc.1 javadoc.1
/usr/local/lib/jdk/man/man1/javadoc.1
   
update-alternatives --verbose --install /usr/bin/javah javah
/usr/local/lib/jdk/bin/javah 500 --slave /usr/share/man/man1/javah.1
javah.1 /usr/local/lib/jdk/man/man1/javah.1
   
update-alternatives --verbose --install /usr/bin/javakey javakey 
/usr/local/lib/jdk/bin/keytool 500 --slave
/usr/share/man/man1/javakey.1 javakey.1
/usr/local/lib/jdk/man/man1/keytool.1
   
update-alternatives --verbose --install /usr/bin/javap javap
/usr/local/lib/jdk/bin/javap 500 --slave /usr/share/man/man1/javap.1
javap.1 /usr/local/lib/jdk/man/man1/javap.1
   
update-alternatives --verbose --install /usr/bin/java-rmi.cgi
java-rmi.cgi /usr/local/lib/jdk/bin/java-rmi.cgi 500
   
update-alternatives --verbose --install /usr/bin/jdb jdb
/usr/local/lib/jdk/bin/jdb 500 --slave /usr/share/man/man1/jdb.1 jdb.1
/usr/local/lib/jdk/man/man1/jdb.1
                                  
update-alternatives --verbose --install /usr/bin/keytool keytool
/usr/local/lib/jdk/bin/keytool 500 --slave
/usr/share/man/man1/keytool.1 keytool.1
/usr/local/lib/jdk/man/man1/keytool.1
   
update-alternatives --verbose --install /usr/bin/kinit kinit
/usr/local/lib/jdk/bin/kinit 500
                                   
update-alternatives --verbose --install /usr/bin/klist klist
/usr/local/lib/jdk/bin/klist 500
   
update-alternatives --verbose --install /usr/bin/ktab ktab
/usr/local/lib/jdk/bin/ktab 500
   
update-alternatives --verbose --install /usr/bin/native2ascii
native2ascii /usr/local/lib/jdk/bin/native2ascii 500 --slave 
/usr/share/man/man1/native2ascii.1 native2ascii.1
/usr/local/lib/jdk/man/man1/native2ascii.1

update-alternatives --verbose --install /usr/bin/orbd orbd 
/usr/local/lib/jdk/bin/orbd 500 --slave /usr/share/man/man1/orbd.1
orbd.1 /usr/local/lib/jdk/man/man1/orbd.1
   
update-alternatives --verbose --install /usr/bin/policytool policytool
 /usr/local/lib/jdk/bin/policytool 500 --slave
/usr/share/man/man1/policytool.1 policytool.1 
/usr/local/lib/jdk/man/man1/policytool.1
   
update-alternatives --verbose --install /usr/bin/rmic rmic
/usr/local/lib/jdk/bin/rmic 500 --slave /usr/share/man/man1/rmic.1
rmic.1   /usr/local/lib/jdk/man/man1/rmic.1
   
update-alternatives --verbose --install /usr/bin/rmid rmid
/usr/local/lib/jdk/bin/rmid 500 --slave /usr/share/man/man1/rmid.1
rmid.1  /usr/local/lib/jdk/man/man1/rmid.1

update-alternatives --verbose --install /usr/bin/rmiregistry
rmiregistry  /usr/local/lib/jdk/bin/rmiregistry 500 --slave 
/usr/share/man/man1/rmiregistry.1 rmiregistry.1 
/usr/local/lib/jdk/man/man1/rmiregistry.1
   
update-alternatives --verbose --install /usr/bin/serialver serialver 
/usr/local/lib/jdk/bin/serialver 500 --slave 
/usr/share/man/man1/serialver.1 serialver.1 
/usr/local/lib/jdk/man/man1/serialver.1

update-alternatives --verbose --install /usr/bin/servertool servertool
  /usr/local/lib/jdk/bin/servertool 500 --slave 
/usr/share/man/man1/servertool.1 servertool.1  
/usr/local/lib/jdk/man/man1/servertool.1
   
update-alternatives --verbose --install /usr/bin/tnameserv tnameserv 
/usr/local/lib/jdk/bin/tnameserv 500 --slave 
/usr/share/man/man1/tnameserv.1 tnameserv.1 
/usr/local/lib/jdk/man/man1/tnameserv.1
#!/bin/sh

update-alternatives --verbose --install /usr/bin/appletviewer
appletviewer /usr/local/lib/jdk/bin/appletviewer 500 --slave
/usr/share/man/man1/appletviewer.1 appletviewer.1 
/usr/local/lib/jdk/man/man1/appletviewer.1
   
update-alternatives --verbose --install /usr/bin/ControlPanel
ControlPanel /usr/local/lib/jdk/bin/ControlPanel 500
                                                       
update-alternatives --verbose --install /usr/bin/extcheck extcheck
/usr/local/lib/jdk/bin/extcheck 500 --slave
/usr/share/man/man1/extcheck.1 extcheck.1
/usr/local/lib/jdk/man/man1/extcheck.1

update-alternatives --verbose --install /usr/bin/HtmlConverter
HtmlConverter /usr/local/lib/jdk/bin/HtmlConverter 500

update-alternatives --verbose --install /usr/bin/idlj idlj
/usr/local/lib/jdk/bin/idlj 500 --slave /usr/share/man/man1/idlj.1
idlj.1 /usr/local/lib/jdk/man/man1/idlj.1

update-alternatives --verbose --install /usr/bin/jar jar
/usr/local/lib/jdk/bin/jar 500 --slave /usr/share/man/man1/jar.1 jar.1
/usr/local/lib/jdk/man/man1/jar.1
   
update-alternatives --verbose --install /usr/bin/jarsigner jarsigner
/usr/local/lib/jdk/bin/jarsigner 500 --slave
/usr/share/man/man1/jarsigner.1 jarsigner.1 
/usr/local/lib/jdk/man/man1/jarsigner.1

update-alternatives --verbose --install /usr/bin/java java
/usr/local/lib/jdk/bin/java 500 --slave /usr/share/man/man1/java.1
java.1 /usr/local/lib/jdk/man/man1/java.1

update-alternatives --verbose --install /usr/bin/javac javac
/usr/local/lib/jdk/bin/javac 500 --slave /usr/share/man/man1/javac.1
javac.1 /usr/local/lib/jdk/man/man1/javac.1
   
update-alternatives --verbose --install /usr/bin/javadoc javadoc
/usr/local/lib/jdk/bin/javadoc 500 --slave
/usr/share/man/man1/javadoc.1 javadoc.1
/usr/local/lib/jdk/man/man1/javadoc.1
   
update-alternatives --verbose --install /usr/bin/javah javah
/usr/local/lib/jdk/bin/javah 500 --slave /usr/share/man/man1/javah.1
javah.1 /usr/local/lib/jdk/man/man1/javah.1
   
update-alternatives --verbose --install /usr/bin/javakey javakey 
/usr/local/lib/jdk/bin/keytool 500 --slave
/usr/share/man/man1/javakey.1 javakey.1
/usr/local/lib/jdk/man/man1/keytool.1
   
update-alternatives --verbose --install /usr/bin/javap javap
/usr/local/lib/jdk/bin/javap 500 --slave /usr/share/man/man1/javap.1
javap.1 /usr/local/lib/jdk/man/man1/javap.1
   
update-alternatives --verbose --install /usr/bin/java-rmi.cgi
java-rmi.cgi /usr/local/lib/jdk/bin/java-rmi.cgi 500
   
update-alternatives --verbose --install /usr/bin/jdb jdb
/usr/local/lib/jdk/bin/jdb 500 --slave /usr/share/man/man1/jdb.1 jdb.1
/usr/local/lib/jdk/man/man1/jdb.1
                                  
update-alternatives --verbose --install /usr/bin/keytool keytool
/usr/local/lib/jdk/bin/keytool 500 --slave
/usr/share/man/man1/keytool.1 keytool.1
/usr/local/lib/jdk/man/man1/keytool.1
   
update-alternatives --verbose --install /usr/bin/kinit kinit
/usr/local/lib/jdk/bin/kinit 500
                                   
update-alternatives --verbose --install /usr/bin/klist klist
/usr/local/lib/jdk/bin/klist 500
   
update-alternatives --verbose --install /usr/bin/ktab ktab
/usr/local/lib/jdk/bin/ktab 500
   
update-alternatives --verbose --install /usr/bin/native2ascii
native2ascii /usr/local/lib/jdk/bin/native2ascii 500 --slave 
/usr/share/man/man1/native2ascii.1 native2ascii.1
/usr/local/lib/jdk/man/man1/native2ascii.1

update-alternatives --verbose --install /usr/bin/orbd orbd 
/usr/local/lib/jdk/bin/orbd 500 --slave /usr/share/man/man1/orbd.1
orbd.1 /usr/local/lib/jdk/man/man1/orbd.1
   
update-alternatives --verbose --install /usr/bin/policytool policytool
 /usr/local/lib/jdk/bin/policytool 500 --slave
/usr/share/man/man1/policytool.1 policytool.1 
/usr/local/lib/jdk/man/man1/policytool.1
   
update-alternatives --verbose --install /usr/bin/rmic rmic
/usr/local/lib/jdk/bin/rmic 500 --slave /usr/share/man/man1/rmic.1
rmic.1   /usr/local/lib/jdk/man/man1/rmic.1
   
update-alternatives --verbose --install /usr/bin/rmid rmid
/usr/local/lib/jdk/bin/rmid 500 --slave /usr/share/man/man1/rmid.1
rmid.1  /usr/local/lib/jdk/man/man1/rmid.1

update-alternatives --verbose --install /usr/bin/rmiregistry
rmiregistry  /usr/local/lib/jdk/bin/rmiregistry 500 --slave 
/usr/share/man/man1/rmiregistry.1 rmiregistry.1 
/usr/local/lib/jdk/man/man1/rmiregistry.1
   
update-alternatives --verbose --install /usr/bin/serialver serialver 
/usr/local/lib/jdk/bin/serialver 500 --slave 
/usr/share/man/man1/serialver.1 serialver.1 
/usr/local/lib/jdk/man/man1/serialver.1

update-alternatives --verbose --install /usr/bin/servertool servertool
  /usr/local/lib/jdk/bin/servertool 500 --slave 
/usr/share/man/man1/servertool.1 servertool.1  
/usr/local/lib/jdk/man/man1/servertool.1
   
update-alternatives --verbose --install /usr/bin/tnameserv tnameserv 
/usr/local/lib/jdk/bin/tnameserv 500 --slave 
/usr/share/man/man1/tnameserv.1 tnameserv.1 
/usr/local/lib/jdk/man/man1/tnameserv.1
#!/bin/sh

update-alternatives --verbose --install /usr/bin/appletviewer
appletviewer /usr/local/lib/jdk/bin/appletviewer 500 --slave
/usr/share/man/man1/appletviewer.1 appletviewer.1 
/usr/local/lib/jdk/man/man1/appletviewer.1
   
update-alternatives --verbose --install /usr/bin/ControlPanel
ControlPanel /usr/local/lib/jdk/bin/ControlPanel 500
                                                       
update-alternatives --verbose --install /usr/bin/extcheck extcheck
/usr/local/lib/jdk/bin/extcheck 500 --slave
/usr/share/man/man1/extcheck.1 extcheck.1
/usr/local/lib/jdk/man/man1/extcheck.1

update-alternatives --verbose --install /usr/bin/HtmlConverter
HtmlConverter /usr/local/lib/jdk/bin/HtmlConverter 500

update-alternatives --verbose --install /usr/bin/idlj idlj
/usr/local/lib/jdk/bin/idlj 500 --slave /usr/share/man/man1/idlj.1
idlj.1 /usr/local/lib/jdk/man/man1/idlj.1

update-alternatives --verbose --install /usr/bin/jar jar
/usr/local/lib/jdk/bin/jar 500 --slave /usr/share/man/man1/jar.1 jar.1
/usr/local/lib/jdk/man/man1/jar.1
   
update-alternatives --verbose --install /usr/bin/jarsigner jarsigner
/usr/local/lib/jdk/bin/jarsigner 500 --slave
/usr/share/man/man1/jarsigner.1 jarsigner.1 
/usr/local/lib/jdk/man/man1/jarsigner.1

update-alternatives --verbose --install /usr/bin/java java
/usr/local/lib/jdk/bin/java 500 --slave /usr/share/man/man1/java.1
java.1 /usr/local/lib/jdk/man/man1/java.1

update-alternatives --verbose --install /usr/bin/javac javac
/usr/local/lib/jdk/bin/javac 500 --slave /usr/share/man/man1/javac.1
javac.1 /usr/local/lib/jdk/man/man1/javac.1
   
update-alternatives --verbose --install /usr/bin/javadoc javadoc
/usr/local/lib/jdk/bin/javadoc 500 --slave
/usr/share/man/man1/javadoc.1 javadoc.1
/usr/local/lib/jdk/man/man1/javadoc.1
   
update-alternatives --verbose --install /usr/bin/javah javah
/usr/local/lib/jdk/bin/javah 500 --slave /usr/share/man/man1/javah.1
javah.1 /usr/local/lib/jdk/man/man1/javah.1
   
update-alternatives --verbose --install /usr/bin/javakey javakey 
/usr/local/lib/jdk/bin/keytool 500 --slave
/usr/share/man/man1/javakey.1 javakey.1
/usr/local/lib/jdk/man/man1/keytool.1
   
update-alternatives --verbose --install /usr/bin/javap javap
/usr/local/lib/jdk/bin/javap 500 --slave /usr/share/man/man1/javap.1
javap.1 /usr/local/lib/jdk/man/man1/javap.1
   
update-alternatives --verbose --install /usr/bin/java-rmi.cgi
java-rmi.cgi /usr/local/lib/jdk/bin/java-rmi.cgi 500
   
update-alternatives --verbose --install /usr/bin/jdb jdb
/usr/local/lib/jdk/bin/jdb 500 --slave /usr/share/man/man1/jdb.1 jdb.1
/usr/local/lib/jdk/man/man1/jdb.1
                                  
update-alternatives --verbose --install /usr/bin/keytool keytool
/usr/local/lib/jdk/bin/keytool 500 --slave
/usr/share/man/man1/keytool.1 keytool.1
/usr/local/lib/jdk/man/man1/keytool.1
   
update-alternatives --verbose --install /usr/bin/kinit kinit
/usr/local/lib/jdk/bin/kinit 500
                                   
update-alternatives --verbose --install /usr/bin/klist klist
/usr/local/lib/jdk/bin/klist 500
   
update-alternatives --verbose --install /usr/bin/ktab ktab
/usr/local/lib/jdk/bin/ktab 500
   
update-alternatives --verbose --install /usr/bin/native2ascii
native2ascii /usr/local/lib/jdk/bin/native2ascii 500 --slave 
/usr/share/man/man1/native2ascii.1 native2ascii.1
/usr/local/lib/jdk/man/man1/native2ascii.1

update-alternatives --verbose --install /usr/bin/orbd orbd 
/usr/local/lib/jdk/bin/orbd 500 --slave /usr/share/man/man1/orbd.1
orbd.1 /usr/local/lib/jdk/man/man1/orbd.1
   
update-alternatives --verbose --install /usr/bin/policytool policytool
 /usr/local/lib/jdk/bin/policytool 500 --slave
/usr/share/man/man1/policytool.1 policytool.1 
/usr/local/lib/jdk/man/man1/policytool.1
   
update-alternatives --verbose --install /usr/bin/rmic rmic
/usr/local/lib/jdk/bin/rmic 500 --slave /usr/share/man/man1/rmic.1
rmic.1   /usr/local/lib/jdk/man/man1/rmic.1
   
update-alternatives --verbose --install /usr/bin/rmid rmid
/usr/local/lib/jdk/bin/rmid 500 --slave /usr/share/man/man1/rmid.1
rmid.1  /usr/local/lib/jdk/man/man1/rmid.1

update-alternatives --verbose --install /usr/bin/rmiregistry
rmiregistry  /usr/local/lib/jdk/bin/rmiregistry 500 --slave 
/usr/share/man/man1/rmiregistry.1 rmiregistry.1 
/usr/local/lib/jdk/man/man1/rmiregistry.1
   
update-alternatives --verbose --install /usr/bin/serialver serialver 
/usr/local/lib/jdk/bin/serialver 500 --slave 
/usr/share/man/man1/serialver.1 serialver.1 
/usr/local/lib/jdk/man/man1/serialver.1

update-alternatives --verbose --install /usr/bin/servertool servertool
  /usr/local/lib/jdk/bin/servertool 500 --slave 
/usr/share/man/man1/servertool.1 servertool.1  
/usr/local/lib/jdk/man/man1/servertool.1
   
update-alternatives --verbose --install /usr/bin/tnameserv tnameserv 
/usr/local/lib/jdk/bin/tnameserv 500 --slave 
/usr/share/man/man1/tnameserv.1 tnameserv.1 
/usr/local/lib/jdk/man/man1/tnameserv.1




Sincerely,

Joe Crawford
___________________________________
Owner - Joetainment Enterprises
Email: ubuntu at joetainment.com
Messenger: joetainment at hotmail.com
ICQ: 103730379
Web: www.joetainment.com



More information about the ubuntu-devel mailing list