I have installed both: jdk-6u5-linux-i586-rpm.bin jre-6u5-linux-i586-rpm.bin But no Java plugin in Firefox. I go to: http://java.com/en/download/help/enable_browser.xml And yes, Java is enabled but still get the dreaded 'download plugin'. I seem to recall some magic linking needed, but my docs are in Freemind that I can't get installed either.....
Robert Moskowitz wrote:> > I have installed both: > > jdk-6u5-linux-i586-rpm.bin > jre-6u5-linux-i586-rpm.bin > > > But no Java plugin in Firefox. > > I go to: http://java.com/en/download/help/enable_browser.xml > > And yes, Java is enabled but still get the dreaded 'download plugin'. > > I seem to recall some magic linking needed, but my docs are in Freemind > that I can't get installed either.....The secret is in 'alternatives', here is what I do in my kickstart scripts (mind the wrap): # Remove Sun added links rm -f /usr/bin/javaws rm -f /usr/bin/jcontrol # Add Sun Java to alternatives alternatives --install /usr/bin/java java /usr/java/default/bin/java 1000 --slave /usr/lib/jvm/jre jre /usr/java/default --slave /usr/bin/javaws javaws /usr/java/default/bin/javaws --slave /usr/bin/jcontrol jcontrol /usr/java/default/bin/jcontrol --slave /usr/bin/rmiregistry rmiregistry /usr/java/default/bin/rmiregistry # Set Sun Java as the preferred Java environment alternatives --set java /usr/java/default/bin/java This should work even if you upgrade the Sun Java version. -Ross ______________________________________________________________________ This e-mail, and any attachments thereto, is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information. If you are not the intended recipient of this e-mail, you are hereby notified that any dissemination, distribution or copying of this e-mail, and any attachments thereto, is strictly prohibited. If you have received this e-mail in error, please immediately notify the sender and permanently delete the original and any copy or printout thereof. -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3971 bytes Desc: not available URL: <http://lists.centos.org/pipermail/centos/attachments/20080307/9d0fa8f2/attachment-0002.bin>
Robert Moskowitz a ?crit :> I have installed both: > > jdk-6u5-linux-i586-rpm.bin > jre-6u5-linux-i586-rpm.bin > > > But no Java plugin in Firefox.I have written a complete HOWTO here: http://www.microlinux.fr/article.php3?id_article=13 Scroll down to "Installation du plugin Java". It's in french, but the most interesting parts are in plain shell lingo :oD Cheers, Niki
Ross S. W. Walker wrote:> Robert Moskowitz wrote: > >> I have installed both: >> >> jdk-6u5-linux-i586-rpm.bin >> jre-6u5-linux-i586-rpm.bin >> >> >> But no Java plugin in Firefox. >> >> I go to: http://java.com/en/download/help/enable_browser.xml >> >> And yes, Java is enabled but still get the dreaded 'download plugin'. >> >> I seem to recall some magic linking needed, but my docs are in Freemind >> that I can't get installed either..... >> > > The secret is in 'alternatives', here is what I do in my kickstart >By 'kickstart', you have a custom install that does this for all of your systems????> scripts (mind the wrap): > > # Remove Sun added links > rm -f /usr/bin/javaws > rm -f /usr/bin/jcontrol > > # Add Sun Java to alternatives > alternatives --install /usr/bin/java java /usr/java/default/bin/java 1000 --slave /usr/lib/jvm/jre jre /usr/java/default --slave /usr/bin/javaws javaws /usr/java/default/bin/javaws --slave /usr/bin/jcontrol jcontrol /usr/java/default/bin/jcontrol --slave /usr/bin/rmiregistry rmiregistry /usr/java/default/bin/rmiregistry >I **think** this ran right. Afterall, I did not have a path to alternatives, and I had to hit the up key then home then insert /usr/sbin/ so yeah, I minded the wrap.> # Set Sun Java as the preferred Java environment > alternatives --set java /usr/java/default/bin/java > > This should work even if you upgrade the Sun Java version. >And I shut down firefox (after I did this), restarted it, and still am getting 'Install missing Plugins' for the site: www.uniwho.com (local plumbing supplier).> -Ross > > ______________________________________________________________________ > This e-mail, and any attachments thereto, is intended only for use by > the addressee(s) named herein and may contain legally privileged > and/or confidential information. If you are not the intended recipient > of this e-mail, you are hereby notified that any dissemination, > distribution or copying of this e-mail, and any attachments thereto, > is strictly prohibited. If you have received this e-mail in error, > please immediately notify the sender and permanently delete the > original and any copy or printout thereof. > > > ------------------------------------------------------------------------ > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos >
Niki Kovacs wrote:> Robert Moskowitz a ?crit : >> I have installed both: >> >> jdk-6u5-linux-i586-rpm.bin >> jre-6u5-linux-i586-rpm.bin >> >> >> But no Java plugin in Firefox. > > I have written a complete HOWTO here: > > http://www.microlinux.fr/article.php3?id_article=13 > > Scroll down to "Installation du plugin Java". It's in french, but the > most interesting parts are in plain shell lingo :oDI think I followed your instructions (I am dyslexic and basically flunked High School Spanish back in the '60s), but still not working. Here is what I get: /usr/sbin/alternatives --display java java - status is manual. link currently points to /opt/jre1.6.0_05/bin/java /usr/lib/jvm/jre-1.4.2-gcj/bin/java - priority 1420 slave javaws: (null) slave jcontrol: (null) slave keytool: /usr/lib/jvm/jre-1.4.2-gcj/bin/keytool slave rmiregistry: /usr/lib/jvm/jre-1.4.2-gcj/bin/rmiregistry slave jre_exports: /usr/lib/jvm-exports/jre-1.4.2-gcj slave jre: /usr/lib/jvm/jre-1.4.2-gcj /usr/java/default/bin/java - priority 1000 slave javaws: /usr/java/default/bin/javaws slave jcontrol: /usr/java/default/bin/jcontrol slave keytool: (null) slave rmiregistry: /usr/java/default/bin/rmiregistry slave jre_exports: (null) slave jre: /usr/java/default /opt/jre1.6.0_04/bin/java - priority 2 slave javaws: (null) slave jcontrol: (null) slave keytool: (null) slave rmiregistry: (null) slave jre_exports: (null) slave jre: (null) /opt/jre1.6.0_05/bin/java - priority 2 slave javaws: (null) slave jcontrol: (null) slave keytool: (null) slave rmiregistry: (null) slave jre_exports: (null) slave jre: (null) Current `best' version is /usr/lib/jvm/jre-1.4.2-gcj/bin/java.
Robert Moskowitz wrote:> I have installed both: > > jdk-6u5-linux-i586-rpm.bin > jre-6u5-linux-i586-rpm.bin > > > But no Java plugin in Firefox. > > I go to: http://java.com/en/download/help/enable_browser.xml > > And yes, Java is enabled but still get the dreaded 'download plugin'. > > I seem to recall some magic linking needed, but my docs are in Freemind > that I can't get installed either.....I'm using the icedtea java plugin and it is working out fantastically for my (admittedly rare) java plugin needs. It's in CentOS Testing. Here's the yum.repos.d entry: [c5-testing] name=CentOS-5 Testing baseurl=http://dev.centos.org/centos/$releasever/testing/$basearch/ enabled=0 gpgcheck=1 gpgkey=http://dev.centos.org/centos/RPM-GPG-KEY-CentOS-testing There's a URL to download it - I don't remember where, someone here will know. Leave enabled=0 You don't want it enabled for everyday use. then - yum --enablerepo=c5-testing update jpackage-utils yum --enablerepo=c5-testing install tzdata-java \ java-1.7.0-icedtea-plugin