You are not logged in.

#1 2009-08-21 23:32:48

00l0
Member
Registered: 2009-01-19
Posts: 31

[SOLVED] java plugin suddenly stopped working

hello,
Java applets used to work without any hassle, but suddenly something happened i guess, that made it show blank windows where the applets are supposed to be shown.
I'm using Firefox Shiretoko 3.5.2 and packages installed are: jdk jre

about:plugins

Java(TM) Plug-in 1.6.0_16

    File name: libnpjp2.so
    The next generation Java plug-in for Mozilla browsers.

MIME Type     Description     Suffixes     Enabled
application/x-java-vm     Java™ Plug-in         Yes
application/x-java-applet     Java™ Plug-in Applet         Yes
application/x-java-applet;version=1.1     Java™ Plug-in         Yes
application/x-java-applet;version=1.1.1     Java™ Plug-in         Yes
application/x-java-applet;version=1.1.2     Java™ Plug-in         Yes
application/x-java-applet;version=1.1.3     Java™ Plug-in         Yes
application/x-java-applet;version=1.2     Java™ Plug-in         Yes
application/x-java-applet;version=1.2.1     Java™ Plug-in         Yes
application/x-java-applet;version=1.2.2     Java™ Plug-in         Yes
application/x-java-applet;version=1.3     Java™ Plug-in         Yes
application/x-java-applet;version=1.3.1     Java™ Plug-in         Yes
application/x-java-applet;version=1.4     Java™ Plug-in         Yes
application/x-java-applet;version=1.4.1     Java™ Plug-in         Yes
application/x-java-applet;version=1.4.2     Java™ Plug-in         Yes
application/x-java-applet;version=1.5     Java™ Plug-in         Yes
application/x-java-applet;version=1.6     Java™ Plug-in         Yes
application/x-java-applet;jpi-version=1.6.0_16     Java™ Plug-in         Yes
application/x-java-bean     Java™ Plug-in JavaBeans         Yes
application/x-java-bean;version=1.1     Java™ Plug-in         Yes
application/x-java-bean;version=1.1.1     Java™ Plug-in         Yes
application/x-java-bean;version=1.1.2     Java™ Plug-in         Yes
application/x-java-bean;version=1.1.3     Java™ Plug-in         Yes
application/x-java-bean;version=1.2     Java™ Plug-in         Yes
application/x-java-bean;version=1.2.1     Java™ Plug-in         Yes
application/x-java-bean;version=1.2.2     Java™ Plug-in         Yes
application/x-java-bean;version=1.3     Java™ Plug-in         Yes
application/x-java-bean;version=1.3.1     Java™ Plug-in         Yes
application/x-java-bean;version=1.4     Java™ Plug-in         Yes
application/x-java-bean;version=1.4.1     Java™ Plug-in         Yes
application/x-java-bean;version=1.4.2     Java™ Plug-in         Yes
application/x-java-bean;version=1.5     Java™ Plug-in         Yes
application/x-java-bean;version=1.6     Java™ Plug-in         Yes
application/x-java-bean;jpi-version=1.6.0_16     Java™ Plug-in         Yes

I tried removing+reinstalling both of them, also removing .mozilla folder.
Also tried linking the .so plugin file to .mozilla folder. but no luck ;(


any other ideas?

thank you!

Last edited by 00l0 (2009-08-25 14:22:56)

Offline

#2 2009-08-22 03:56:59

thisoldman
Member
From: Pittsburgh
Registered: 2009-04-25
Posts: 1,172

Re: [SOLVED] java plugin suddenly stopped working

It's probably javascript that's not working the way you would like. I think. I still get the two confused.

First, check your settings under Edit > Preferences > Content.

If nothing is wrong there, close Firefox and temporarily remove the ~/.mozilla folder by renaming it or moving it to a temporary directory. Then restart Firefox. Check to see if everything works as it should. If it doesn't, again check your preferences.

If you still can't get it working, it's beyond my abilities to help you.

If it does work now, delete the new ~/.mozilla file and replace it with your old one. Then, under Tools > Add-ons, disable all plugins and extensions. Restart Firefox.

If javascript works, start re-enabling the plugins one by one. Test javascript after re-enabling each one.

If javascript doesn't work, copy ~/.mozilla/firefox/<random characters>.default/ bookmarks.html, key3.db, signons3.txt and signons.sqlite files to some safe place.  Remove ~/.mozilla again and you'll start with a fresh configuration.  Restart firefox and the ~/.mozilla directory will again be created. Move the bookmarks.html, key3.db and signons.txt back to the random character directory. You'll have to install all your old plug-ins and extensions again but we've saved your bookmarks and passwords.

Offline

#3 2009-08-22 04:42:11

Ranguvar
Member
Registered: 2008-08-12
Posts: 2,544

Re: [SOLVED] java plugin suddenly stopped working

I don't have an answer for the OP's problem (same Firefox and JRE/JDK here, no problems), but he's not confusing Java and JavaScript. If JavaScript wasn't working, it wouldn't be just applets that are gone. Most of your advice is still good though.

OP, do normal Java apps still work?

Offline

#4 2009-08-22 09:15:33

00l0
Member
Registered: 2009-01-19
Posts: 31

Re: [SOLVED] java plugin suddenly stopped working

thank you both!

@thisoldman:
I tried your advices but no luck ;( Preferences are correctly set

Ranguvar wrote:

OP, do normal Java apps still work?

Now i have realized that's not so. I tested some JAR little applications and weird errors appear, this is the output:

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f9596e22578, pid=3092, tid=140280444864784
#
# JRE version: 6.0_16-b01
# Java VM: Java HotSpot(TM) 64-Bit Server VM (14.2-b01 mixed mode linux-amd64 )
# Problematic frame:
# C  [libc.so.6+0x30578]  catgets+0x18
#
# An error report file with more information is saved as:
# /media/data/descarregues/programming/jogl/nehejoglports/hs_err_pid3092.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Aborted

and the log file,
cat hs_err_pid3092.log :

http://pastebin.com/m204f2b77

looks serious :S
thanks!

Offline

#5 2009-08-24 08:55:30

00l0
Member
Registered: 2009-01-19
Posts: 31

Re: [SOLVED] java plugin suddenly stopped working

i really don't know how to fix this! ;(
ideas?
aka bump

Last edited by 00l0 (2009-08-24 08:55:48)

Offline

#6 2009-08-25 14:22:36

00l0
Member
Registered: 2009-01-19
Posts: 31

Re: [SOLVED] java plugin suddenly stopped working

well i finally solved it : D
in my case the error was caused by the AWT_TOOLKIT variable, i had it set at the startup in my .bashrc file('export AWT_TOOLKIT=MToolkit'). Removing this from the bashrc file solved the problem. Now I only have it set at the run script of specific programs eg Matlab, instead of globally.
How this helps someone else!

Offline

Board footer

Powered by FluxBB