View previous topic :: View next topic |
Author |
Message |
suprafluid n00b
Joined: 07 Jan 2011 Posts: 48 Location: Deep in the Bavarian Forrest, Germany
|
Posted: Fri Sep 02, 2011 8:29 am Post subject: Java applets do no longer run in Firefox |
|
|
Hello all,
Sorry, I am bit a newbie to all this gentoo stuff. So far I had a stable system and no problems getting installed all that I needed.
Now recently I did a "emerge -avDNut world" and after that, Firefox (3.6.17) does no longer run java applets. There just a gray box where the applet should run... Now I remerged java and firefox again.. but nothing changed.
java-check-environment ends with "* Java environment is sane. Congratulations!"
Active jre (java-config -f) is "sun-jre-bin-1.6"
Any ideas waht I could do here?
Kind regards,
tobias
[/code] |
|
Back to top |
|
|
massimo Veteran
Joined: 22 Jun 2003 Posts: 1226
|
Posted: Fri Sep 02, 2011 8:39 am Post subject: |
|
|
When you enter 'about:plugins' in Firefox' address bar you get a list of installed plugins - can you find java there? _________________ Hello 911? How are you? |
|
Back to top |
|
|
suprafluid n00b
Joined: 07 Jan 2011 Posts: 48 Location: Deep in the Bavarian Forrest, Germany
|
Posted: Fri Sep 02, 2011 8:56 am Post subject: |
|
|
Hi! This gives me:
application/x-java-vm IcedTea class,jar Yes
application/x-java-applet IcedTea class,jar Yes
IcedTea ist also installed
The following VMs are available for generation-2:
1) IcedTea6-bin 1.10.3 [icedtea6-bin]
2) Sun JDK 1.6.0.26 [sun-jdk-1.6]
*) Sun JRE 1.6.0.26 [sun-jre-bin-1.6] |
|
Back to top |
|
|
suprafluid n00b
Joined: 07 Jan 2011 Posts: 48 Location: Deep in the Bavarian Forrest, Germany
|
Posted: Sat Sep 03, 2011 8:55 pm Post subject: |
|
|
Hi all,
Seems Firefox runs into the follwong problem, as soon as a java applet starts...
Code: |
Gtk-ERROR **: GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported
aborting...
|
But installed is only gtk 2 on this system.
x11-libs/gtk+-2.24.4
what can I do here? |
|
Back to top |
|
|
Elv13 Guru
Joined: 13 Nov 2005 Posts: 388 Location: Socialist land of North America
|
Posted: Sun Sep 04, 2011 7:51 am Post subject: |
|
|
Remove the icedtea plugin (.so) from the netscape/mozilla//firefox plugin directory (usually in /usr/lib/{netscape,mozilla,firefox} directory |
|
Back to top |
|
|
suprafluid n00b
Joined: 07 Jan 2011 Posts: 48 Location: Deep in the Bavarian Forrest, Germany
|
Posted: Sun Sep 04, 2011 8:15 am Post subject: |
|
|
Hi!
In the firefox plugin directory, there's only a symlink to:
/usr/share/java-config-2/nsplugin/icedtea6-javaplugin.so
and this is also just a link pointing to:
/opt/icedtea6-web-bin/lib/IcedTeaPlugin.so
I deleted that link and now the browser says that it does not find a plugin for java applets. What should the deletion of this do?
I will re-emerge firefox now and see what it does. |
|
Back to top |
|
|
charles17 Advocate
Joined: 02 Mar 2008 Posts: 3664
|
Posted: Sun Sep 04, 2011 12:03 pm Post subject: |
|
|
Did you set java-nsplugin in eselect?
Code: | eselect java-nsplugin set icedtea6
eselect java-nsplugin list |
|
|
Back to top |
|
|
suprafluid n00b
Joined: 07 Jan 2011 Posts: 48 Location: Deep in the Bavarian Forrest, Germany
|
Posted: Sun Sep 04, 2011 3:40 pm Post subject: |
|
|
hi
yes that is set. I get this error message when starting an applet:
Code: |
OpenJDK Runtime Environment (IcedTea6 1.10.3) (Gentoo build 1.6.0_22-b22)
OpenJDK Client VM (build 20.0-b11, mixed mode)
Gtk-ERROR **: GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported
aborting...
|
|
|
Back to top |
|
|
suprafluid n00b
Joined: 07 Jan 2011 Posts: 48 Location: Deep in the Bavarian Forrest, Germany
|
Posted: Sun Sep 04, 2011 9:29 pm Post subject: got it |
|
|
got it: icedtea6 does not work properly because it messes up with gtk+ 2 and 3 (3 is not installed on my system)
I changed the default java browser plugin to sun-jdk-1.6
Code: |
eselect java-nsplugin set sun-jdk-1.6
|
and now java applets are working again... |
|
Back to top |
|
|
|