Out of date java 6 plugin installed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| Sun Java |
Invalid
|
Undecided
|
Unassigned | |
| sun-java6 (Ubuntu) |
Undecided
|
Unassigned |
Bug Description
Ubuntu Intrepid has support for the latest version of java (version 6 update 10 build 33), but the old plugin is still enabled, not the new one with support for draggable applets, jnlp-based applets and other new features. These applets for example will not work: https:/
To fix this I ran:
sudo update-alternatives --install /etc/alternativ
sudo update-alternatives --config xulrunner-
But perhaps other plugin alternatives should point to the new plugin location:
/usr/lib/
instead of:
/usr/lib/
ibjavaplugin_oji.so
That includes those listed in /usr/lib/
xulrunner-
firefox-
iceape-
iceweasel-
mozilla-
midbrowser-
xulrunner-
Changed in sun-java: | |
status: | Unknown → Confirmed |
Adam Niedling (krychek) wrote : | #2 |
Will this be fixed in Intrepid as well?
Jimmy Merrild Krag (beruic) wrote : | #3 |
..:: This is how I got java working in Intrepid ::..
(I develop a bit in Java, so installed the JDK. Change the paths if you install jre)
I installed the binary from Sun in /opt/
Added the following in th end of /etc/profile:
"
# Java
PATH="$
JAVA_HOME=
export PATH
export JAVA_HOME
"
And ran this in /usr/lib/
sudo ln -s sudo ln -s /opt/jdk1.
Tom Martin (tompoges) wrote : | #4 |
This worked for me thanks.
I did the same for update 12 that was recently released.
Is this a typo?
sudo ln -s sudo ln -s /opt/jdk1.
I think you meant
sudo ln -s /opt/jdk1.
Jimmy Merrild Krag (beruic) wrote : | #5 |
Yes, it is a typo, and yes, it should read:
sudo ln -s /opt/jdk1.
Jimmy Merrild Krag (beruic) wrote : | #6 |
btw
run in terminal:
jconsole for java console
jcontrol for java control panel
mbien (mbien) wrote : | #7 |
I am curious, why is there still no u11 or u12 available for autoupdate (with this fix in it)? Wasn't u11 a security update? u11 fixed also some annoying bugs on ubuntu (like the combobox issue).
Rune K. Svendsen (runeks) wrote : | #8 |
Thank you Jimmy, that works perfectly. Even with jre 6.0.12 which I installed.
Leo Milano (lmilano) wrote : | #9 |
I can confirm this. However, I am not sure this is fixed in Jaunty. I just installed sun-java6 from the jaunty repository, in my Intrepid box (it installs just fine). The problems with Java persisted (applets that used to work in Hardy were crashing firefox in Intrepid). A look into /etc/alternatives revealed that all the symlinks were pointing to the old location. For instance:
xulrunner-
Symlinking everything pointing to libjavaplugin_
cd /etc/alternatives/
sudo ln -sf /usr/lib/
sudo ln -sf /usr/lib/
sudo ln -sf /usr/lib/
sudo ln -sf /usr/lib/
sudo ln -sf /usr/lib/
sudo ln -sf /usr/lib/
sudo ln -sf /usr/lib/
Can this be fixed in both Intrepid and Jaunty? It seems to be a simple matter of correcting some symbolic links :-)
Many thanks!
Leo
Doug Holton (edtechdev) wrote : | #10 |
Yeah I can confirm this hasn't been fixed yet, too, in intrepid or jaunty alpha 6.
Would be great if this could be corrected by the time of the jaunty release.
Changed in sun-java6: | |
status: | Fix Released → Confirmed |
Doug Holton (edtechdev) wrote : | #11 |
Actually it has been fixed in Jaunty for the past month.
I tested with a fresh install of jaunty alpha 6, installed the java6-plugin package, and those new applets worked.
So I marked this as fix released again.
See these other notes:
James Stansell indicates that 6u12 is in Jaunty: (comment near bottom)
https:/
And there is a Feb 6th note here to "Use the libnpjp2 plugin instead of
libjavaplugin_oji": (jaunty only)
https:/
Changed in sun-java6: | |
status: | Confirmed → Fix Released |
Åskar (olskar) wrote : | #12 |
Please go to https:/
hi
i have to confirm this bug in sun-java6-plugin...
i tried all, remove sun-java6 including plugin, remove manually the plugin from firefox, reinstalling sun-java6 including the plugin but no chance...
i had to do Leo Milano's workaround to get all the java sites working:
https:/
no in firefox about:plugins i see this:
libnpjp2.so
File name: /usr/lib/
by the way, my system is here:
Linux hercules 2.6.28-13-generic #44-Ubuntu SMP Tue Jun 2 07:57:31 UTC 2009 i686 GNU/Linux
lsb_release -rd
Description: Ubuntu 9.04
Release: 9.04
thomi
Steve Kroon (kroon) wrote : | #14 |
I see the status of this bug is "Fix released", but what is the fix? [The comments just say "it has been fixed in Jaunty"]
I still have the problem in Jaunty with Java freezing Firefox-3.0.11 and firefox-3.5b4pre (e.g. The Java test page at www.java.
Java(TM) Plug-in 1.6.0_13-b03
File name: libjavaplugin_
Java(TM) Plug-in 1.6.0_13
Doug Holton (edtechdev) wrote : | #15 |
The fix is to use libnpjp2.so instead of javaplugin.so.
If you can see some applets but not these:
https:/
Then it wasn't fixed.
If you get the freeze for any applets or random applets, then that's another java bug.
Hi
I have fixed it manually, see my comment above... and firefox uses now libnpjp2.so.
The test with the site https:/
Just wait, the dev's are on work ;)
greetings
thomi
Steve Kroon (kroon) wrote : | #17 |
Thanks - changing the links works for me.
Doesn't fix released mean that if my Jaunty system is up to date, I shouldn't need to manually fix this?
I'd change it myself, but I'm not sure if this bug's fix has now been committed into an unreleased update or not. Perhaps In Progress is a better status?
Elias Naur (elias-naur) wrote : | #18 |
In my experience, a freshly installed Jaunty works fine and uses the new plugin. For an updated Jaunty, re-installing the plugin package fixed the symlinks.
Steve Kroon (kroon) wrote : | #19 |
So the correct fix is:
sudo apt-get reinstall sun-java6-plugin
I still don't get is how it can be "Fix released" if my system never got a patch/update for it. How are users supposed to know to update?
If the relevant update just hasn't got to end-users yet, I presume the status should be fix-committed?
[I'm new to all these statuses, so just trying to clarify things]
Steve Kroon (kroon) wrote : | #20 |
Erm - can't see how to edit my previous submission:
I meant: "How are users supposed to know to _reinstall_ (the package)"
Leo Milano (lmilano) wrote : | #21 |
I now have a new 64 bit machine , and a fresh install of Jaunty. I went ahead and installed the Sun Java6 packages:
sudo apt-get install sun-java6-jre sun-java6-plugin sun-java6-fonts
Going to the applets test page would make Java use 100% of one of the cores and would keep hang even after exiting firefox. Needles to say, the applets would fail to load. I noticed this:
cd /etc/alternatives/
ls -l |grep javap
lrwxrwxrwx 1 root root 49 2009-07-09 19:51 firefox-
lrwxrwxrwx 1 root root 49 2009-07-09 19:51 iceape-
lrwxrwxrwx 1 root root 49 2009-07-09 19:51 iceweasel-
lrwxrwxrwx 1 root root 49 2009-07-09 19:51 midbrowser-
lrwxrwxrwx 1 root root 49 2009-07-09 19:51 mozilla-
lrwxrwxrwx 1 root root 58 2009-07-09 19:51 xulrunner-
lrwxrwxrwx 1 root root 49 2009-07-09 19:51 xulrunner-
Clearly, icedtea6-plugin was on the way. Removing it fixed the issue:
lmilano@
lrwxrwxrwx 1 root root 49 2009-07-09 19:51 firefox-
lrwxrwxrwx 1 root root 49 2009-07-09 19:51 iceape-
lrwxrwxrwx 1 root root 49 2009-07-09 19:51 iceweasel-
lrwxrwxrwx 1 root root 49 2009-07-09 19:51 midbrowser-
lrwxrwxrwx 1 root root 49 2009-07-09 19:51 mozilla-
lrwxrwxrwx 1 root root 49 2009-07-09 20:04 xulrunner-
lrwxrwxrwx 1 root root 49 2009-07-09 19:51 xulrunner-
Now the applets load just fine. Shouldn't the sun-java6-plugin package conflict with the icedtea6-plugin? Meaning that when you install dpkg would force you to uninstall the other?
Hope this helps ...
Hi
By the was, the comand to fix it is: sudo aptitude reinstall sun-java6-plugin
apt-get has no reinstall function..
And now, how Users know about that Problem and how to fix it... read this Bugreport.. Users have to search trough launchpad if there is any Problem...
But, it will be easier if an update fix it with reinstalling the package automatically... and cleaning the conflict as Leo Milano's comment explains...
have a nice day
thomi
Steve Kroon (kroon) wrote : | #23 |
Thanks for the correction, Thomas.
Re: users knowing how to fix it - see https:/
Leo Milano (lmilano) wrote : | #24 |
I think, besides the semantics of "Fixed Released" that Steve correctly pointed out, there is a misunderstanding.
The original bug seems to have been _partially_ fixed by sun-java6 (6-11-0ubuntu1). However, there is a remaining bug, in that the sun plugin conflicts with icedtea's plugin. So, I think the bug should be re-opened but for sun-java6-plugin ... does anyone know how to do that? I may open a new bug for that, and link it from here ... or is there another way? I don't want to mess up.
Igor Gomes (igorgomes) wrote : | #25 |
Thanks for the tip Leo! I'm using Jaunty with all the updates and just after this workaround I can access some pages.
Igor Gomes
Changed in sun-java6 (Ubuntu): | |
status: | Fix Released → Incomplete |
Adam Niedling (krychek) wrote : | #26 |
Why did you set this to incomplete? Is this bug still occurring to you?
Changed in sun-java6 (Ubuntu): | |
status: | Incomplete → Fix Released |
Changed in sun-java6 (Ubuntu): | |
status: | Fix Released → In Progress |
Laurent Bonnaud (laurent-bonnaud) wrote : | #27 |
This bug is fixed in oneiric (and probably previous Ubuntu release) in this package version:
Package: sun-java6-plugin
Version: 6.26-1oneiric1
The postinst script /var/lib/
Laurent Bonnaud (laurent-bonnaud) wrote : | #28 |
For older systems, the java packages do not cleanup older alternatives. Here is what I did (as root) on my system to clean up:
rm /var/lib/
rm `locate libjavaplugin.so`
/var/lib/
Changed in sun-java6 (Ubuntu): | |
status: | In Progress → Fix Released |
dino99 (9d9) wrote : | #29 |
outdated flavor, report about a newer active version if needed
Changed in sun-java: | |
importance: | Unknown → Undecided |
status: | Confirmed → New |
status: | New → Invalid |
This bug was fixed in the package sun-java6 - 6-11-0ubuntu1
---------------
sun-java6 (6-11-0ubuntu1) jaunty; urgency=low
* New upstream release. java.sun. com/javase/ 6/webnotes/ ReleaseNotes. html.
Release notes at http://
* sun-java6-plugin: Use the libnpjp2 plugin instead of libjavaplugin_oji.
LP: #291135.
-- Matthias Klose <email address hidden> Wed, 03 Dec 2008 11:43:53 +0100