Java plugin installed correctly for Firefox but not able to view any java applet
Java's SDK 1.4.2_06 added to path, able to exec java, compile java apps fine. Firefox's plugin path has libjavaplugin_oji.so -> $java_path/jre/plugin/i386/ns610-gcc32/libjavaplugin_oji.so
in Firefox, about:plugins shows table contains java entries look just fine.
However, not able to view any java applet , e.g at this page
It shows up as a blank applet with a red X .
Suggestions ? Thanks
Java on Linux with Mozilla/Firefox has too many issues to pinpoint what your problem is. You could try the following though. No promises on these however.
1) Try SDK or JRE 1.5.0. As you must be knowing, your Java plugin and your browser would need to be compiled with the same major version of gcc. This is the single most important reason for Java refusing to work on Linux browsers. Firefox runs applets (reasonably) well using the 1.5.0 release
2) Remove the pluginreg.dat from your Firefox directory and restart Firefox. (You can try this with your current version of Java too just to ensure that the Java plugin info is registered correctly with your browser. Often this is not the case in spite of Firefox showing all the plugins in about:plugins)
Both JRE 1.4.2 and 1.5.0 should work fine with Firefox 1.0 as long as you symlink the correct plugin file. The OP indicates he's using the GCC-3.2 version, which seems correct to me. His "about:plugin" screen shows Java as a valid plugin, too, as far as I can tell.
At this point, I'd suspect the "enable Java" option may be turned off. Go to Edit/Preferences, choose "Web Features" and make sure "Enable Java" is checked.
Enable Java is already checked. The strange part is I do see a broken gray shade with a red x, like a broken java applet. Normally if I don't have java plugin, then nothing will show.
My libjavaplugin_oji.so plugin under Firefox plugins is a soft link to file:/usr/java/jre1.5.0/plugin/i386/ns7/libjavaplugin_oji.so
No problem viewing the page.
Problem with java on firefox
I get Java runtime error, when I load any webpage with java contents.
I tried this on both firefox and opera.
Both report the same problem.
But, if I run firefox as root user, I don't get this problem!
Any idea, what could be the problem?
@ssnkumar I think you installed the java not in an user accessible location.
And like Brian1 said
/usr/java/jre1.5.0/plugin/i386/ns7/libjavaplugin_oji.so this "so" file must be linked using the "ln" command to your firefox plugin dir.
Sometimes there are funny mistakes that can happen.
I thought I did everything correctly even the symbolic link thing but
then I recognized that I linked it to an old path of previous firefox install dir.
Now I learned that I have to update this link everytime I update my firefox.
/usr/lib/firefox-18.104.22.168/plugins/ this was my old dir where I had to link the "blahfassel..so - file" to. and now It's /usr/lib/firefox-22.214.171.124/plugins/
maybe this hint helps.
googol:plugins> ls -l libjavaplugin_oji.so
lrwxrwxrwx 1 ns158690 staff 78 Aug 23 13:48 libjavaplugin_oji.so -> /usr/dist/share/java,v1.5.0/5.x-i86pc/jre/plugin/i386/ns7/libjavaplugin_oji.so
googol:plugins> ls -l /usr/dist/share/java,v1.5.0/5.x-i86pc/jre/plugin/i386/ns7/libjavaplugin_oji.so
-rwxr-xr-x 1 softdist softdist 101816 Sep 15 2004 /usr/dist/share/java,v1.5.0/5.x-i86pc/jre/plugin/i386/ns7/libjavaplugin_oji.so
unable to run applet
I'm new in java under linux platform.
My all java programs are running succesfully ???
But I'm unable to view my applet. I have both Mozilla firefox as well as seamonkey browser.. as soon as i start my applet it is dispalying the height and width .. but at the same time it is asking for the plugins....
plz tell me what plugin should i install to run applet....
plz help me out...
best of luck
With Best Regards
updated java instructions
I'm adding to this post for anyone that comes across this, while trying to install the sun java plugin on firefox 3.6. (as I did)
In your .mozilla (/home/bob/.mozilla/plugins/) directory you need to add a softlink to 'libnpjp2.so'. If the plugins directory is not there, create it. The old plugin (javaplugin-oji.so) has been deprecated.
On a Redhat 5.4 server, here's what it looks like. (installed java from an RPM from Sun's website)
libnpjp2.so -> /usr/java/jre1.6.0_20/lib/i386/libnpjp2.so
heres the documentation from Sun:http://java.sun.com/javase/6/webnote...all-linux.html
|All times are GMT -5. The time now is 05:35 PM.|