Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
problems with java plugin for mozilla
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
iandow
Tux's lil' helper
Tux's lil' helper


Joined: 21 Jul 2004
Posts: 135
Location: Washington, DC

PostPosted: Fri Jul 23, 2004 6:06 pm    Post subject: problems with java plugin for mozilla Reply with quote

I've been having problems getting any java plugins to work in Mozilla. I just upgraded to Mozilla version 1.7 from 1.6.something. I've installed two JDKs, sun-j2sdk-1.4.2, and blackdown-jdk-1.4.1. I've followed the instructions for installing the java plugin to mozilla by putting a symlink to libjavaplugin_oji.so /usr/lib/mozilla/plugins/, but it's just not working.

Code:

cd /usr/lib/mozilla/plugins/
ln -s /opt/sun-j2sdk-1.4.2/jre/plugin/i386/ns610-gcc32/libjavaplugin_oji.so .


I'm testing the plugin by viewing this page to see if the java applets come up (but they aren't):

http://java.sun.com/docs/books/tutorial/essential/threads/index.html

Other relevant info about my system:
Gentoo Linux 3.3.3-r6
gcc version 3.3.3 20040412

Can anyone give me some recommendations for fixing this?

Thanks- Ian.
Back to top
View user's profile Send private message
pmjdebruijn
Guru
Guru


Joined: 24 Jul 2003
Posts: 506
Location: Sittard, The Netherlands

PostPosted: Fri Jul 23, 2004 6:20 pm    Post subject: Reply with quote

Well first you can check whether mozilla has loaded the plugin or not:

Code:
about:plugins


It should be something like this:
Quote:
Java Plug-in

File name: NPJava11.dll
Java Plug-in 1.4.2_05 for Netscape Navigator (DLL Helper)

MIME Type Description Suffixes Enabled
application/x-java-applet;version=1.1.1 Java Applet Yes
application/x-java-bean;version=1.1.1 JavaBeans Yes
application/x-java-applet;version=1.1 Java Applet Yes
application/x-java-bean;version=1.1 JavaBeans Yes
application/x-java-applet Java Applet Yes
application/x-java-bean JavaBeans Yes
Java Plug-in

File name: NPJava12.dll
Java Plug-in 1.4.2_05 for Netscape Navigator (DLL Helper)

MIME Type Description Suffixes Enabled
application/x-java-applet;version=1.2 Java Applet Yes
application/x-java-bean;version=1.2 JavaBeans Yes
application/x-java-applet;version=1.1.3 Java Applet Yes
application/x-java-bean;version=1.1.3 JavaBeans Yes
application/x-java-applet;version=1.1.2 Java Applet Yes
application/x-java-bean;version=1.1.2 JavaBeans Yes
Java Plug-in

File name: NPJava13.dll
Java Plug-in 1.4.2_05 for Netscape Navigator (DLL Helper)

MIME Type Description Suffixes Enabled
application/x-java-applet;version=1.3.1 Java Applet Yes
application/x-java-bean;version=1.3.1 JavaBeans Yes
application/x-java-applet;version=1.4 Java Applet Yes
application/x-java-bean;version=1.4 JavaBeans Yes
application/x-java-applet;version=1.4.1 Java Applet Yes
application/x-java-bean;version=1.4.1 JavaBeans Yes
Java Plug-in

File name: NPJava14.dll
Java Plug-in 1.4.2_05 for Netscape Navigator (DLL Helper)

MIME Type Description Suffixes Enabled
application/x-java-applet;version=1.4.2 Java Applet Yes
application/x-java-bean;version=1.4.2 JavaBeans Yes
Java Plug-in

File name: NPJava32.dll
Java Plug-in 1.4.2_05 for Netscape Navigator (DLL Helper)

MIME Type Description Suffixes Enabled
application/x-java-applet;version=1.3 Java Applet Yes
application/x-java-bean;version=1.3 JavaBeans Yes
application/x-java-applet;version=1.2.2 Java Applet Yes
application/x-java-bean;version=1.2.2 JavaBeans Yes
application/x-java-applet;version=1.2.1 Java Applet Yes
application/x-java-bean;version=1.2.1 JavaBeans Yes
Java Plug-in

File name: NPJPI142_05.dll
Java Plug-in 1.4.2_05 for Netscape Navigator (DLL Helper)

MIME Type Description Suffixes Enabled
application/x-java-applet;jpi-version=1.4.2_05 Java Applet Yes
application/x-java-bean;jpi-version=1.4.2_05 JavaBeans Yes


Note, this one was made under firefox/win32 so your output might vary a bit.

Next you can try to change the classpath and path for java...
http://members.home.nl/keizerflipje/configs/etc/profile.d/IBMJava2.sh
(If I'm not mistaken the script for Sun Java should be the same)

Note that normally java executable don't have to be in the path to function properly in a browser.

Good luck,
Pascal de Bruijn


Last edited by pmjdebruijn on Fri Jul 23, 2004 6:23 pm; edited 1 time in total
Back to top
View user's profile Send private message
pmjdebruijn
Guru
Guru


Joined: 24 Jul 2003
Posts: 506
Location: Sittard, The Netherlands

PostPosted: Fri Jul 23, 2004 6:22 pm    Post subject: Reply with quote

As a coincidence the test page you choose, was bad applets, at least they don't load on my system to... Note that I can see the plugin load, just not the applet.

You might want to use this URL to check:
http://www.liquidreality.de/main/projects/tetris/play

Good luck,
Pascal de Bruijn
Back to top
View user's profile Send private message
iandow
Tux's lil' helper
Tux's lil' helper


Joined: 21 Jul 2004
Posts: 135
Location: Washington, DC

PostPosted: Fri Jul 23, 2004 7:22 pm    Post subject: Reply with quote

HA! They are just bad applets! Hurray! It's actually working. I should email sun about the error in their tutorial.

Thanks, Pascal de Bruijn!

:lol:

-ian
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum