0 Members and 1 Guest are viewing this topic.
If you decide to give the instructions on macles.blogspo t a go .. let me know, as the version it will download is NOT the current version of the Sun Java JRE .. and I'll explain how to modify the instructions the get the latest jre-6u31.rpm.bin
sudo update-alternatives --config java
There are 2 programs which provide 'java'. Selection Command----------------------------------------------- 1 /usr/lib/jvm/jre-1.5.0-gcj/bin/java*+ 2 /usr/lib/jvm/jre-1.7.0-icedtea/bin/javaEnter to keep the current selection[ + ], or type selection number:
sudo update-alternatives --config libjavaplugin. so
There is 1 program that provides 'libjavaplugin. so'. Selection Command-----------------------------------------------*+ 1 /usr/lib/jvm/jre-1.7.0-icedtea/lib/i386/gcjwebplugin.soEnter to keep the current selection[ + ], or type selection number:
cd ~
wget -O jre-6u31.rpm.bin http://javadl.sun.com/webapps/download/AutoDL?BundleId=59620
sudo bash jre-6u31.rpm.bin
Did Java used to work in Firefox 2 ?
ls -a /usr/java
ls -a /usr/java/latest/lib/i386/
ls -a /usr/java/latest/bin/
. .. default jre1.6.0_07 jre1.6.0_17 jre1.6.0_31 latest
. libj2pcsc.so libmlib_image. so.. libj2pkcs11.so libnative_chmo d_g.soclient libjaas_unix.s o libnative_chmo d.soheadless libjava_crw_de mo.so libnet.sojli libjavaplugin_ jni.so libnio.sojvm.cfg libjavaplugin_ nscp_gcc29.so libnpjp2.solibawt.so libjavaplugin_ nscp.so libnpt.solibcmm.so libjava.so librmi.solibdcpr.so libjawt.so libsplashscree n.solibdeploy.so libJdbcOdbc.so libunpack.solibdt_socket.s o libjdwp.so libverify.solibfontmanager .so libjpeg.so libzip.solibhprof.so libjsig.so motif21libinstrument. so libjsoundalsa. so native_threadslibioser12.so libjsound.so serverlibj2gss.so libmanagement. so xawt
. java jcontrol pack200 rmiregistry unpack200.. java_vm keytool policytool servertoolControlPanel javaws orbd rmid tnameserv
ls -al /usr/java/latest/bin
ls -al /usr/java/jre1.6.0_31/bin
update-alternatives --list java
sudo update-alternatives --install /usr/bin/java java /usr/java/latest/bin/java 20000
sudo update-alternatives --install /usr/lib/mozilla/plugins/libjavaplugin.so libjavaplugin.so /usr/java/latest/lib/i386/libnpjp2.so 20000
sudo update-alternatives --config libjavaplugin.so
total 740drwxr-xr-x 2 root root 4096 2012-03-03 10:08 .drwxr-xr-x 7 root root 4096 2012-03-03 10:08 ..lrwxrwxrwx 1 root root 10 2012-03-03 10:08 ControlPanel -> ./jcontrol-rwxr-xr-x 1 root root 47308 2012-01-20 23:03 java-rwxr-xr-x 1 root root 16835 2012-01-20 23:03 java_vm-rwxr-xr-x 1 root root 75412 2012-01-20 23:03 javaws-rwxr-xr-x 1 root root 6407 2012-01-20 20:55 jcontrol-rwxr-xr-x 1 root root 47447 2012-01-20 23:03 keytool-rwxr-xr-x 1 root root 47679 2012-01-20 23:03 orbd-rwxr-xr-x 1 root root 47515 2012-01-20 23:03 pack200-rwxr-xr-x 1 root root 47807 2012-01-20 23:03 policytool-rwxr-xr-x 1 root root 47447 2012-01-20 23:03 rmid-rwxr-xr-x 1 root root 47447 2012-01-20 23:03 rmiregistry-rwxr-xr-x 1 root root 47475 2012-01-20 23:03 servertool-rwxr-xr-x 1 root root 47679 2012-01-20 23:03 tnameserv-rwxr-xr-x 1 root root 189338 2012-01-20 23:03 unpack200
alternatives version 1.3.36 - Copyright (C) 2001 Red Hat, Inc.This may be freely redistributed under the terms of the GNU Public License.usage: alternatives --install <link> <name> <path> <priority> [--initscript <service>] [--slave <link> <name> <path>]* alternatives --remove <name> <path> alternatives --auto <name> alternatives --config <name> alternatives --display <name> alternatives --set <name> <path>common options: --verbose --test --help --usage --version --altdir <directory> --admindir <directory>
There are 2 programs which provide 'libjavaplugin. so'. Selection Command----------------------------------------------- 1 /usr/lib/jvm/jre-1.7.0-icedtea/lib/i386/gcjwebplugin.so*+ 2 /usr/java/latest/lib/i386/libnpjp2.soEnter to keep the current selection[ + ], or type selection number:
That last one is different since the last time. What should I choose?
There are 3 programs which provide 'java'. Selection Command----------------------------------------------- 1 /usr/lib/jvm/jre-1.5.0-gcj/bin/java + 2 /usr/lib/jvm/jre-1.7.0-icedtea/bin/java* 3 /usr/java/latest/bin/javaEnter to keep the current selection[ + ], or type selection number:
update-alternatives --display java
update-alternatives --display libjavaplugin.so
java - status is manual. link currently points to /usr/java/latest/bin/java/usr/lib/jvm/jre-1.5.0-gcj/bin/java - priority 1500 slave keytool: /usr/lib/jvm/jre-1.5.0-gcj/bin/keytool slave orbd: (null) slave pack200: (null) slave policytool: (null) slave rmid: (null) slave rmiregistry: /usr/lib/jvm/jre-1.5.0-gcj/bin/rmiregistry slave servertool: (null) slave tnameserv: (null) slave unpack200: (null) slave jre_exports: /usr/lib/jvm-exports/jre-1.5.0-gcj slave jre: /usr/lib/jvm/jre-1.5.0-gcj slave java.1.gz: (null) slave keytool.1.gz: (null) slave orbd.1.gz: (null) slave pack200.1.gz: (null) slave policytool.1.g z: (null) slave rmid.1.gz: (null) slave rmiregistry.1. gz: (null) slave servertool.1.g z: (null) slave tnameserv.1.gz: (null) slave unpack200.1.gz: (null)/usr/lib/jvm/jre-1.7.0-icedtea/bin/java - priority 17000 slave keytool: /usr/lib/jvm/jre-1.7.0-icedtea/bin/keytool slave orbd: /usr/lib/jvm/jre-1.7.0-icedtea/bin/orbd slave pack200: /usr/lib/jvm/jre-1.7.0-icedtea/bin/pack200 slave policytool: /usr/lib/jvm/jre-1.7.0-icedtea/bin/policytool slave rmid: /usr/lib/jvm/jre-1.7.0-icedtea/bin/rmid slave rmiregistry: /usr/lib/jvm/jre-1.7.0-icedtea/bin/rmiregistry slave servertool: /usr/lib/jvm/jre-1.7.0-icedtea/bin/servertool slave tnameserv: /usr/lib/jvm/jre-1.7.0-icedtea/bin/tnameserv slave unpack200: /usr/lib/jvm/jre-1.7.0-icedtea/bin/unpack200 slave jre_exports: /usr/lib/jvm-exports/jre-1.7.0-icedtea slave jre: /usr/lib/jvm/jre-1.7.0-icedtea slave java.1.gz: /usr/share/man/man1/java-java-1.7.0-icedtea.1.gz slave keytool.1.gz: /usr/share/man/man1/keytool-java-1.7.0-icedtea.1.gz slave orbd.1.gz: /usr/share/man/man1/orbd-java-1.7.0-icedtea.1.gz slave pack200.1.gz: /usr/share/man/man1/pack200-java-1.7.0-icedtea.1.gz slave policytool.1.g z: /usr/share/man/man1/policytool-java-1.7.0-icedtea.1.gz slave rmid.1.gz: /usr/share/man/man1/rmid-java-1.7.0-icedtea.1.gz slave rmiregistry.1. gz: /usr/share/man/man1/rmiregistry-java-1.7.0-icedtea.1.gz slave servertool.1.g z: /usr/share/man/man1/servertool-java-1.7.0-icedtea.1.gz slave tnameserv.1.gz: /usr/share/man/man1/tnameserv-java-1.7.0-icedtea.1.gz slave unpack200.1.gz: /usr/share/man/man1/unpack200-java-1.7.0-icedtea.1.gz/usr/java/latest/bin/java - priority 20000 slave keytool: (null) slave orbd: (null) slave pack200: (null) slave policytool: (null) slave rmid: (null) slave rmiregistry: (null) slave servertool: (null) slave tnameserv: (null) slave unpack200: (null) slave jre_exports: (null) slave jre: (null) slave java.1.gz: (null) slave keytool.1.gz: (null) slave orbd.1.gz: (null) slave pack200.1.gz: (null) slave policytool.1.g z: (null) slave rmid.1.gz: (null) slave rmiregistry.1. gz: (null) slave servertool.1.g z: (null) slave tnameserv.1.gz: (null) slave unpack200.1.gz: (null)Current `best' version is /usr/java/latest/bin/java.
libjavaplugin.so - status is manual. link currently points to /usr/java/latest/lib/i386/libnpjp2.so/usr/lib/jvm/jre-1.7.0-icedtea/lib/i386/gcjwebplugin.so - priority 17000/usr/java/latest/lib/i386/libnpjp2.so - priority 20000Current `best' version is /usr/java/latest/lib/i386/libnpjp2.so.