I can't get java applets to run in Firefox. We are using centos 5.3, firefox 3.0.11. Java version 1.6.0_24 is installed. java version "1.6.0_24" Java(TM) SE Runtime Environment (build 1.6.0_24-b07) Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02, mixed mode) I know there has been allot written about this issue. I did look and there is no jre plug in installed for Firefox. I tried to reinstall java and this did not work either. Any ideas? Eric -- Eric Kaufmann | Application Support Analyst - Advanced Technology Group | Saint Louis University | 314-977-2257 | kaufmann at slu.edu | Interested in High Performance Computing? Visit us at http://rocks64.slu.edu/atg . -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20110419/b5e14501/attachment-0005.html>
Eric Kaufmann wrote:> I can't get java applets to run in Firefox. > > We are using centos 5.3, firefox 3.0.11. Java version 1.6.0_24 is installed. > > java version "1.6.0_24" > Java(TM) SE Runtime Environment (build 1.6.0_24-b07) > Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02, mixed mode) > > I know there has been allot written about this issue. I did look and > there is no jre plug in installed for Firefox. > > I tried to reinstall java and this did not work either. > > Any ideas? > > Eric > > > -- > Eric Kaufmann | Application Support Analyst - Advanced Technology > Group | Saint Louis University | 314-977-2257 | kaufmann at slu.edu > <mailto:kaufmann at slu.edu> | Interested in High Performance Computing? > Visit us at http://rocks64.slu.edu/atg . > > > > ------------------------------------------------------------------------ > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centosThis is my Tomboy note about adding java support to CentOS Firefox: 1. yum install java 2. Now you need to add the Java you have installed to the list of alternatives for the java executable: /usr/sbin/alternatives --install /usr/bin/java java /usr/java/latest/bin/java 2 Note: There is two - (hypen) before install. However wordpress may replace both of them with a separate character, so just don't copy-paste here. Note: Tinker with /usr/java/latest/bin/java if you do not have Java installed at this location. In other words change it to point to the location of your installed Java executable from Sun. 3. Now configure alternatives to select the latest Java executable under /usr/java: /usr/sbin/alternatives --config java Check the version of Java to ensure that it is from Sun: java -version For example, this is the output I get: java version "1.6.0_16? Java(TM) SE Runtime Environment (build 1.6.0_16-b01) Java HotSpot(TM) 64-Bit Server VM (build 14.2-b01, mixed mode) Go to /usr/lib64/mozilla/plugins: cd /usr/lib64/mozilla/plugins ili cd /usr/lib/mozilla/plugins 4. Create a symbolic link to libnpjp2.so (Firefox plugin for Java): ln -s /usr/java/latest/lib/amd64/libnpjp2.so ili ln -s /usr/java/latest/lib/i386/libnpjp2.so Note: The above is applicable for JDK installation. For JRE it is likely to be: ln -s /usr/java/latest/lib/amd64/libnpjp2.so ili ln -s /usr/java/latest/lib/i386/libnpjp2.so 5. Restart Firefox and type the following in URL field and press Enter: about:plugins You should now see a section titled Java(TM) Plug-in 1.6.x You are done installing Java Plugin / Applet support in Firefox on CentOS 5. ln -s /usr/java/latest/plugin/i386/ns7/libjavaplugin_oji.so u /usr/lib/mozilla/plugins Ljubomir
CentOS 5.5, Linux 2.6.18-238.9.1.el5 athlon 17:00:52 up 1 day, 21:25, 1 user, load average: 0.22, 0.20, 0.11 On Tue, 2011-04-19 at 15:40 -0500, Eric Kaufmann wrote:> I can't get java applets to run in Firefox. > > We are using centos 5.3, firefox 3.0.11. Java version 1.6.0_24 is > installed. > > java version "1.6.0_24" > Java(TM) SE Runtime Environment (build 1.6.0_24-b07) > Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02, mixed mode) > > I know there has been allot written about this issue. I did look and > there is no jre plug in installed for Firefox. > > I tried to reinstall java and this did not work either. > > Any ideas? > > EricJava: To enable java, download and install the appropriate version for your architecture here. http://java.com/en/download/linux_manual.jsp?locale=en&host=www.java.com . For i386: Navigate to /usr/lib/mozilla/plugins and create ln -s to /usr/java/jre*/lib/i386/libnpjp2.so. For x86_64: Navigate to /usr/lib64/mozilla/plugins and ln -s to /usr/lib/java/jre*/lib/amd64/libnpjp2.so. Works for me. HTH. B.J.