java plugin for firefox
Well, whaddaya know, I have a problem.
I downloaded Java 1_5_0 JDK package and I can compile and run Java programs but I cant seem to get Java working with Firefox. So my big question is: How do I turn the Java plugin on for Firefox. (FYI, running FC3 now, with Firefox 1.0). Thanks |
hi,
I had kinda same problem. To solve it delete your Java 1.5.0JDK and replace it for a j2sdk1.4.2_07 (that's mine ^^ :p) $ ln -s /usr/java/j2sdk1.4.2_07/jre/plugin/i386/ns610-gcc32/libjavaplugin_oji.so /usr/lib/firefox-<yourversion>/plugins If you have any browsers running close them and restart after the ln -s you succesfully installed Java on Firefox ;) CyA |
jdk 1.5 works fine for me using Firefox 1.0 on FC3. Just follow the instructions above but alter the paths to suite the version of jdk you have installed.
|
SUCCESS
Thanx a lot, guys! Now Java works with my Firefox browser. I was stumped there for a while... I have just started to get into Java, and this stuff is new to me - as is Linux stuff, too, although I've been running a Linux workstation for a while here.
|
jdk version 1.5.0_01 doesn't have the plugin mentioned above.
the following works with jdk1.5.0_01 and firefox 1.0.4 root@localhost# ln -s /usr/java/jdk1.5.0_01/jre/plugin/i386/ns7/libjavaplugin_oji.so \ /usr/lib/firefox-1.0.4/plugins use of the other plugin in the jdk (ns7-gcc29/libjavaplugin_oji.so) caused firefox to fail to start. |
Quote:
I have firefox-1.0.4-1.3.1 from Fedora update, and installed jdk 1.5.0_03-b07 from java.sun.com into /usr/local. I symlinked from plugins/ns7/lib... to /usr/lib/mozilla/plugins, and url:about:plugins show that it loads and activates java 1.5.0. But when I try to run any java applet, the following file is created: plugin_stack.trace which contains java.lang.NoClassDefFoundError at sun.plugin.AppletViewer.initEnvironment(AppletViewer.java:237) at sun.plugin.navig.motif.Plugin.doit(Plugin.java:141) at sun.plugin.navig.motif.Plugin.start(Plugin.java:104) and no applet window appears on the screen. I set JAVA_HOME to /usr/local/jdk1.5, NPX_PLUGIN_PATH to /usr/lib/mozilla/plugins:/usr/local/jdk1.5/jre/plugin, but none of them helps solve this problem. I wonder what java object Plugin couldn't find. |
I'd suggest you stick to the 1.5 jdk since I remember reading that there are problems with the 1.4x java plugin with firefox and the resolution was installing 1.5 jdk with it's plugin.
|
1.5 works great for me... i had trouble getting it up, but the key was creating that syslink mentioned in the java readme. Make sure your linking from/to the right places, and it should work fine.
|
My JRE Install Instructions for SuSE 10
Getting Java to Completely Work in SuSE 10
I had Java 1.5.0_06 installed but the installation did not have a plugin directory under /usr/lib/jre1.5.0_06/plugin/i386/ns7 as indicated on numerous posts I have read. OK, I'm game -- just don't shoot me! Here's what I did to get Java Runtime Environment to work:
I hope this helps someone. |
All times are GMT -5. The time now is 07:14 PM. |