Hardy Heron Jre (java) does not work with Firefox, Mozilla, Galeon

Bug #190030 reported by tomaszko
8
Affects Status Importance Assigned to Milestone
sun-java6 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: sun-java6-jre

Dear All,

It seems that java applets could not be used under the Firefox/Mozilla/Galeon web-browsers

To reproduce this bug do the following steps:
1. Ugrade from Gutsy to Hardy
2. Install sun-java6-jre or sun-java5-jre plugin
3 install firefox2.0.0.11 or galeon
4. check plugin on this page http://www.java.com/en/download/installed.jsp
5. Java is not loaded

I think it's critical

Regrds,

Tom

Revision history for this message
Jussi Saarinen (jms) wrote :

I had sun-java6-jre_6-04-1 related problem too. Following seems to fix it, at least it did the trick for me:

sudo sed -i 's/XINERAMA/FAKEEXTN/g' /usr/lib/jvm/java-6-sun-1.6.0.04/jre/lib/i386/xawt/libmawt.so

Revision history for this message
tomaszko (kossut) wrote :

it does the trick only for firefox 2.0.x. Galeon and ff3.0 is affected.
8.04 should be free from such bugs.

Regards,

tk

Revision history for this message
boskicinek (boski-cinek) wrote :

It doesn't work for me either. I get many error messages on stderr (see attachment).

$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=8.04
DISTRIB_CODENAME=hardy
DISTRIB_DESCRIPTION="Ubuntu hardy (development branch)"

firefox 2.0.0.10+2nobinonly-0ubuntu2
$ dpkg-query -l|grep java|grep ii
ii java-common 0.27ubuntu1 Base of all Java packages
ii sun-java6-bin 6-04-1 Sun Java(TM) Runtime Environment (JRE) 6 (ar
ii sun-java6-jre 6-04-1 Sun Java(TM) Runtime Environment (JRE) 6 (ar
ii sun-java6-plugin 6-04-1 The Java(TM) Plug-in, Java SE 6

Revision history for this message
trevor_boon (trevor-boon) wrote :

Hi also had this problem after upgrading from Gutsy to Hardy.

I already had the java packages installed and working prior to the upgrade.

Jussi Saarinen's solution worked for me.

Revision history for this message
boskicinek (boski-cinek) wrote :

Works for me too, but it still have to be fixed by default.

stefanlew (stefan-lew)
Changed in sun-java6:
status: New → Confirmed
Revision history for this message
psa (psasak-earthlink) wrote :

There is a missing link in Firefox 3:

$ cd /usr/lib/firefox-addons/plugins/

then:

$ sudo ln -s /etc/alternatives/firefox-3.0-javaplugin.so

restart Firefox 3.

Revision history for this message
TDB (michael-baranov) wrote :

No solution made my Firefox3 have java pluin working in it so far! Plz HELP!

Revision history for this message
Chris McCauley (chris-avondalepark) wrote :

I've gone through the usual combination of update alternatives, adding missing sym links, apt-get install / remove but some applets are still not starting correctly (most notably the e-trade streaming quotes applet!)

Revision history for this message
tomaszko (kossut) wrote :

solution from psa does not work for me, I think that by the end of march this bug will be patched

Revision history for this message
tomaszko (kossut) wrote :
Revision history for this message
russellc (russell-christopher) wrote :

When I launch e-trade streaming quotes applet I get a blank page and system monitor shows a bunch of zombie vm's which go away when I exit ff

Revision history for this message
Chris McCauley (chris-avondalepark) wrote :
Download full text (4.6 KiB)

I purged all Java VMs and plugins and reinstalled Iced Tea. This is now working for the Sun Java Applet Test page. It is not working for the e-trade realtime quote streamer probably because of a problem with Iced Tea itself - this is the error log;

GCJ PLUGIN: thread 0x805f070: plugin_in_pipe_callback: setting status load: class etrade.mcaster.Streamer not found.
load: class etrade.mcaster.Streamer not found.
java.lang.ClassNotFoundException: etrade.mcaster.Streamer
  PIPE: plugin read: status load: class etrade.mcaster.Streamer not found.
GCJ PLUGIN: thread 0x805f070: plugin_in_pipe_callback return
 at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:201)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:323)
 at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:145)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
 at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:644)
 at sun.applet.AppletPanel.createApplet(AppletPanel.java:796)
 at sun.applet.AppletPanel.runLoader(AppletPanel.java:725)
 at sun.applet.AppletPanel.run(AppletPanel.java:379)
 at java.lang.Thread.run(Thread.java:674)
Caused by: java.net.SocketException: java.security.NoSuchAlgorithmException: Error constructing implementation (algorithm: Default, provider: SunJSSE, class: sun.security.ssl.DefaultSSLContextImpl)
 at javax.net.ssl.DefaultSSLSocketFactory.throwException(SSLSocketFactory.java:196)
 at javax.net.ssl.DefaultSSLSocketFactory.createSocket(SSLSocketFactory.java:216)
 at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:383)
 at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)
 at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1020)
 at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:397)
 at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:338)
 at sun.applet.AppletClassLoader.getBytes(AppletClassLoader.java:302)
 at sun.applet.AppletClassLoader.access$100(AppletClassLoader.java:62)
 at sun.applet.AppletClassLoader$1.run(AppletClassLoader.java:191)
 at java.security.AccessController.doPrivileged(Native Method)
 at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:188)
 ... 8 more
Caused by: java.security.NoSuchAlgorithmException: Error constructing implementation (algorithm: Default, provider: SunJSSE, class: sun.security.ssl.DefaultSSLContextImpl)
 at java.security.Provider$Service.newInstance(Provider.java:1262)
 at sun.security.jca.GetInstance.getInstance(GetInstance.java:236)
 at sun.security.jca.GetInstance.getInstance(GetInstance.java:164)
 at javax.net.ssl.SSLContext.getInstance(SSLContext.java:142)
 at javax.net.ssl.SSLContext.getDefault(SSLContext.java:85)
 at javax.net.ssl.SSLSocketFactory.getDefault(SSLSocketFactory.java:119)
 at javax.net.ssl.HttpsURLConnection.getDefaultSSLSocketFactory(HttpsURLConnection.java:344)
 at javax.net.ssl.HttpsURLConnection.<init>(HttpsURLConnection.java:302)
 at sun.net.www.protocol.https.HttpsURLConnectionImpl.<init>(HttpsURLConnectionImpl.java:85)
 at sun.net.www.protocol.https.Handl...

Read more...

Revision history for this message
Molotov (shroomz) wrote :

I had to do both tricks, the one jms posted, and then psa's. Now it works fine. Try using both tricks, it should make your (Sun-) Java run. Good luck and sry for my bad english.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.