Prev: 093a:2622 webcam
Next: recent mobo recommendation
From: Ken Heard on 13 Apr 2010 16:10 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 A website I want to use would allow access unless my java applet is JRE 6 update 13 or higher. As far as I can figure out the applet provided by package sun-java6-bin is update 12. - From the Sun Microsystems site I downloaded file jre-6u19-i586.bin; moved it to directory /usr/lib/jvm, changed ownership to root:root and permissions to rwxr-xr-x and ran the binary. It created a new directory /usr/lib/jvm/jre1.6.0_19 and opened in that directory a number of subdirectories and files. Next, I needed to add this new JRE to /etc/alternatives. Using the alternatives configurator provided by package galternatives, as root I selected 'java' as the alternative to configure and added to the options list /usr/lib/jvm/1.6.0_19/bin/java and finally selected this new option. After reloading Iceweasel, about:plugins still showed the previous JRE I was using, /usr/lib/jvm/java-6-openjdk/jre/bin/java. Assuming that I can use a later version of JRE downloaded from Sun on Iceweasel 3.5, am I on the right track but did not get the newer version set up correctly, or is there a different way? Ken Heard -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkvEzi8ACgkQlNlJzOkJmTc8GwCfSO/C8Xip3eo02hMLm2LbUMxB 43gAn1fgJ6lPRotxSt5Oh30hnVduQzkp =pYRX -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/4BC4CE30.20704(a)heard.name
From: Liam O'Toole on 14 Apr 2010 03:50 On 2010-04-13, Ken Heard <ken(a)heard.name> wrote: > > A website I want to use would allow access unless my java applet is JRE > 6 update 13 or higher. As far as I can figure out the applet provided > by package sun-java6-bin is update 12. > > - From the Sun Microsystems site I downloaded file jre-6u19-i586.bin; > moved it to directory /usr/lib/jvm, changed ownership to root:root and > permissions to rwxr-xr-x and ran the binary. It created a new directory > /usr/lib/jvm/jre1.6.0_19 and opened in that directory a number of > subdirectories and files. > > Next, I needed to add this new JRE to /etc/alternatives. Using the > alternatives configurator provided by package galternatives, as root I > selected 'java' as the alternative to configure and added to the options > list /usr/lib/jvm/1.6.0_19/bin/java and finally selected this new option. That sets up the alternative for the java executable. So if you type 'java -version' at the command line it should output the correct version. > > After reloading Iceweasel, about:plugins still showed the previous JRE I > was using, /usr/lib/jvm/java-6-openjdk/jre/bin/java. > > Assuming that I can use a later version of JRE downloaded from Sun on > Iceweasel 3.5, am I on the right track but did not get the newer version > set up correctly, or is there a different way? The browser plugin uses a different alternative, namely libjavaplugin_oji.so. You will find the target of the alternative in the directory /usr/lib/jvm/1.6.0_19/plugin/i386/ns7/ > > Ken Heard > > > > -- Liam O'Toole Birmingham, United Kingdom -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/slrnhsasdb.bu7.liam.p.otoole(a)dipsy.selfip.org
From: Clive Standbridge on 14 Apr 2010 08:40 > > > > After reloading Iceweasel, about:plugins still showed the previous JRE I > > was using, /usr/lib/jvm/java-6-openjdk/jre/bin/java. > > > > Assuming that I can use a later version of JRE downloaded from Sun on > > Iceweasel 3.5, am I on the right track but did not get the newer version > > set up correctly, or is there a different way? > > The browser plugin uses a different alternative, namely > libjavaplugin_oji.so. You will find the target of the alternative in the > directory /usr/lib/jvm/1.6.0_19/plugin/i386/ns7/ The update-java-alternatives command should sort this out. This will show you the available alternatives: /usr/sbin/update-java-alternatives --list Then as root run something like update-java-alternatives -s java-6-sun Note there's a load of java-related items which that command sets. To see the list, run /usr/sbin/update-java-alternatives --verbose --list -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/20100414114742.GA9131(a)rimmer.esmertec.com
From: Liam O'Toole on 14 Apr 2010 08:50 On 2010-04-14, Clive Standbridge <Clive.Standbridge(a)myriadgroup.com> wrote: >> > >> > After reloading Iceweasel, about:plugins still showed the previous JRE I >> > was using, /usr/lib/jvm/java-6-openjdk/jre/bin/java. >> > >> > Assuming that I can use a later version of JRE downloaded from Sun on >> > Iceweasel 3.5, am I on the right track but did not get the newer version >> > set up correctly, or is there a different way? >> >> The browser plugin uses a different alternative, namely >> libjavaplugin_oji.so. You will find the target of the alternative in the >> directory /usr/lib/jvm/1.6.0_19/plugin/i386/ns7/ > > The update-java-alternatives command should sort this out. > This will show you the available alternatives: > /usr/sbin/update-java-alternatives --list > > Then as root run something like > update-java-alternatives -s java-6-sun > > Note there's a load of java-related items which that command sets. To > see the list, run > /usr/sbin/update-java-alternatives --verbose --list > While the update-java-alternatives command is useful, it helps only if the package already provides an alternative. The OP has to set up the alternative manually. -- Liam O'Toole Birmingham, United Kingdom -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/slrnhsbe0a.bu7.liam.p.otoole(a)dipsy.selfip.org
From: Sjoerd Hardeman on 14 Apr 2010 09:20
Liam O'Toole schreef: > On 2010-04-14, Clive Standbridge <Clive.Standbridge(a)myriadgroup.com> wrote: >>>> After reloading Iceweasel, about:plugins still showed the previous JRE I >>>> was using, /usr/lib/jvm/java-6-openjdk/jre/bin/java. >>>> >>>> Assuming that I can use a later version of JRE downloaded from Sun on >>>> Iceweasel 3.5, am I on the right track but did not get the newer version >>>> set up correctly, or is there a different way? >>> The browser plugin uses a different alternative, namely >>> libjavaplugin_oji.so. You will find the target of the alternative in the >>> directory /usr/lib/jvm/1.6.0_19/plugin/i386/ns7/ >> The update-java-alternatives command should sort this out. >> This will show you the available alternatives: >> /usr/sbin/update-java-alternatives --list >> >> Then as root run something like >> update-java-alternatives -s java-6-sun >> >> Note there's a load of java-related items which that command sets. To >> see the list, run >> /usr/sbin/update-java-alternatives --verbose --list >> > > While the update-java-alternatives command is useful, it helps only if > the package already provides an alternative. The OP has to set up the > alternative manually. or use backports.org to install a more recent version of Sun's java. Sjoerd |