[Bug 288397] Re: The old plugin hangs firefox 3 when loading java applets

2009-01-22 Thread Jimmy Merrild Krag
*** This bug is a duplicate of bug 291135 ***
https://bugs.launchpad.net/bugs/291135

I have added to your post how I got it working on intrepid by installing
the binary package from Sun. Still have a few things to test, but works
perfectly with applets.

-- 
The old plugin hangs firefox 3 when loading java applets
https://bugs.launchpad.net/bugs/288397
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 288397] Re: The old plugin hangs firefox 3 when loading java applets

2008-12-18 Thread DH
I reported this too and posted a solution that worked for me.
https://bugs.launchpad.net/ubuntu/+source/sun-java6/+bug/291135

Someone marked the bug fixed now upstream, but I can't confirm it.

-- 
The old plugin hangs firefox 3 when loading java applets
https://bugs.launchpad.net/bugs/288397
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 288397] Re: The old plugin hangs firefox 3 when loading java applets

2008-12-18 Thread DH
*** This bug is a duplicate of bug 291135 ***
https://bugs.launchpad.net/bugs/291135

** This bug has been marked a duplicate of bug 291135
   Out of date java 6 plugin installed

-- 
The old plugin hangs firefox 3 when loading java applets
https://bugs.launchpad.net/bugs/288397
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 288397] Re: The old plugin hangs firefox 3 when loading java applets

2008-12-15 Thread Adam Niedling
I just tried Nils's solution at 2008-11-11 and it does not work for me. I hope 
it didn't damage my system.
Alexander: could you write the complete solution which you've tested and is 
working? Thanks.

-- 
The old plugin hangs firefox 3 when loading java applets
https://bugs.launchpad.net/bugs/288397
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 288397] Re: The old plugin hangs firefox 3 when loading java applets

2008-12-15 Thread Nils Fredrik Gjerull
If you have for example icedtea6-plugin installed I think it has a
higher priority than sun-java6-plugin because it is FOSS. I just used
100 as the priority because it is higher than the old plugin in sun-
java6-plugin.

You can install the GUI tool galternatives so you more easily can see
which alternative is active.

This should be done in the deb.

-- 
The old plugin hangs firefox 3 when loading java applets
https://bugs.launchpad.net/bugs/288397
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 288397] Re: The old plugin hangs firefox 3 when loading java applets

2008-12-15 Thread Troels Liebe Bentsen
It seems that auto has been disabled on the symlinks if the update-
java-alternatives has been used.

So to for the update-alternatives to work, auto first has to be set on
the plugins:

update-alternatives --auto xulrunner-1.9-javaplugin.so
update-alternatives --auto xulrunner-javaplugin.so
update-alternatives --auto firefox-javaplugin.so
update-alternatives --auto mozilla-javaplugin.so

sudo update-alternatives --install 
/usr/lib/xulrunner-1.9.0.4/plugins/libjavaplugin.so xulrunner-1.9-javaplugin.so 
/usr/lib/jvm/java-6-sun/jre/lib/i386/libnpjp2.so 100
sudo update-alternatives --install /usr/lib/xulrunner/libjavaplugin.so 
xulrunner-javaplugin.so /usr/lib/jvm/java-6-sun/jre/lib/i386/libnpjp2.so 100
sudo update-alternatives --install /usr/lib/firefox/plugins/libjavaplugin.so 
firefox-javaplugin.so /usr/lib/jvm/java-6-sun/jre/lib/i386/libnpjp2.so 100
sudo update-alternatives --install /usr/lib/mozilla/plugins/libjavaplugin.so 
mozilla-javaplugin.so /usr/lib/jvm/java-6-sun/jre/lib/i386/libnpjp2.so 100

But all this should really be done in the deb, why still ship a broken
plugin when there is a working alternative?

-- 
The old plugin hangs firefox 3 when loading java applets
https://bugs.launchpad.net/bugs/288397
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 288397] Re: The old plugin hangs firefox 3 when loading java applets

2008-12-15 Thread Adam Niedling
Screw update-alternatives. This didn't work either. It doesn't even
change the symlinks in /etc/alternatives/ . And I also didn't even had
the /usr/lib/xulrunner/libjavaplugin.so and
/usr/lib/mozilla/plugins/libjavaplugin.so files. I ended up creating
every symlink manually:

sudo ln -s /usr/lib/jvm/java-6-sun/jre/lib/i386/libnpjp2.so 
/etc/alternatives/xulrunner-1.9-javaplugin.so
sudo ln -s /usr/lib/jvm/java-6-sun/jre/lib/i386/libnpjp2.so 
/etc/alternatives/xulrunner-javaplugin.so
sudo ln -s /usr/lib/jvm/java-6-sun/jre/lib/i386/libnpjp2.so 
/etc/alternatives/firefox-javaplugin.so
sudo ln -s /usr/lib/jvm/java-6-sun/jre/lib/i386/libnpjp2.so 
/etc/alternatives/mozilla-javaplugin.so

sudo ln -s /etc/alternatives/xulrunner-1.9-javaplugin.so 
/usr/lib/xulrunner-1.9.0.4/plugins/libjavaplugin.so 
sudo ln -s /etc/alternatives/xulrunner-javaplugin.so 
/usr/lib/xulrunner/libjavaplugin.so
sudo ln -s /etc/alternatives/firefox-javaplugin.so 
/usr/lib/firefox/plugins/libjavaplugin.so
sudo ln -s /etc/alternatives/mozilla-javaplugin.so 
/usr/lib/mozilla/plugins/libjavaplugin.so

If any of these files already exist they should be deleted, otherwise the new 
symlink cannot be created.
I made a shell script to do all this. I'm attaching it. Don't worry if you get 
an error message saying that something can't be deleted.

This works 100%! I tested it on two computers and this workaround also
survives a reboot.

** Attachment added: java_applet_fix.sh
   http://launchpadlibrarian.net/20439602/java_applet_fix.sh

-- 
The old plugin hangs firefox 3 when loading java applets
https://bugs.launchpad.net/bugs/288397
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 288397] Re: The old plugin hangs firefox 3 when loading java applets

2008-12-15 Thread Nils Fredrik Gjerull
Sorry for the mistake in the update-alternatives command. This I have
tested and it is working if you have sun-java6-bin installed. If you can
move the applet at the following URL everything should be OK;
https://jdk6.dev.java.net/plugin2/

Updatet commands:
sudo update-alternatives --install 
/usr/lib/xulrunner-1.9.0.4/plugins/libjavaplugin.so xulrunner-1.9-javaplugin.so 
/usr/lib/jvm/java-6-sun/jre/lib/i386/libnpjp2.so 100
sudo update-alternatives --install /usr/lib/xulrunner/libjavaplugin.so 
xulrunner-javaplugin.so /usr/lib/jvm/java-6-sun/jre/lib/i386/libnpjp2.so 100
sudo update-alternatives --install /usr/lib/firefox/plugins/libjavaplugin.so 
firefox-javaplugin.so /usr/lib/jvm/java-6-sun/jre/lib/i386/libnpjp2.so 100
sudo update-alternatives --install /usr/lib/mozilla/plugins/libjavaplugin.so 
mozilla-javaplugin.so /usr/lib/jvm/java-6-sun/jre/lib/i386/libnpjp2.so 100

-- 
The old plugin hangs firefox 3 when loading java applets
https://bugs.launchpad.net/bugs/288397
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 288397] Re: The old plugin hangs firefox 3 when loading java applets

2008-12-03 Thread dnh
I have the same bug using my netbank (Danish Eikbank), never had any
problems  8.10.

This works for me:
https://bugs.launchpad.net/ubuntu/+source/sun-java6/+bug/288642/comments/37

-- 
The old plugin hangs firefox 3 when loading java applets
https://bugs.launchpad.net/bugs/288397
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 288397] Re: The old plugin hangs firefox 3 when loading java applets

2008-12-01 Thread Alexander Hunziker
Nils, I think the update-alternatives should rather be used as follows:

sudo update-alternatives --install
/usr/lib/mozilla/plugins/libjavaplugin.so mozilla-javaplugin.so
/usr/lib/jvm/java-6-sun/jre/lib/i386/libnpjp2.so 100

and so on. The first argument should be the file in the filesystem which
*points to* /etc/alternatives/XYZ

-- 
The old plugin hangs firefox 3 when loading java applets
https://bugs.launchpad.net/bugs/288397
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 288397] Re: The old plugin hangs firefox 3 when loading java applets

2008-11-11 Thread Nils Fredrik Gjerull
After some after thought I think it would be better to use the
alternatives system than to remove the symbolic links.

Do this:
sudo update-alternatives --install 
/etc/alternatives/xulrunner-1.9-javaplugin.so xulrunner-1.9-javaplugin.so 
/usr/lib/jvm/java-6-sun/jre/lib/i386/libnpjp2.so 100
sudo update-alternatives --install /etc/alternatives/xulrunner-javaplugin.so 
xulrunner-javaplugin.so /usr/lib/jvm/java-6-sun/jre/lib/i386/libnpjp2.so 100
sudo update-alternatives --install /etc/alternatives/firefox-javaplugin.so 
firefox-javaplugin.so /usr/lib/jvm/java-6-sun/jre/lib/i386/libnpjp2.so 100
sudo update-alternatives --install /etc/alternatives/mozilla-javaplugin.so 
mozilla-javaplugin.so /usr/lib/jvm/java-6-sun/jre/lib/i386/libnpjp2.so 100

Or you can do this with the GUI tool galternatives.

This will change to the new java plugin system wide.

-- 
The old plugin hangs firefox 3 when loading java applets
https://bugs.launchpad.net/bugs/288397
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 288397] Re: The old plugin hangs firefox 3 when loading java applets

2008-11-10 Thread Nils Fredrik Gjerull
The JUpload applet (http://jupload.sourceforge.net/) is experiencing
this issue.

I have tried with the sun-java5-plugin and sun-java6-plugin (the old
libjavaplugin_oji.so plugin that is). Both of them make Firefox 3.0.3
freeze. Maybe this is a issue with Firefox 3.0.3 and the old plugin?

I removed the symbolic link to the old plugin in a number of places:
/usr/lib/xulrunner/plugins/libjavaplugin.so
/usr/lib/xulrunner-addons/plugins/libjavaplugin.so
/usr/lib/mozilla/plugins/libjavaplugin.so
/usr/lib/firefox/plugins/libjavaplugin.so

I am not sure which of these is actually used by Firefox or if Firefox
picks up plugins from a number of places, but removing the link from
these places prevented Firefox from discovering the old plugin.

Then I added a symbolic link in the $HOME/.mozilla/plugins directory:
ln -s /usr/lib/jvm/java-6-sun-1.6.0.10/jre/lib/i386/libnpjp2.so

Now the jupload java applet is working, with the new plugin.

-- 
The old plugin hangs firefox 3 when loading java applets
https://bugs.launchpad.net/bugs/288397
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 288397] Re: The old plugin hangs firefox 3 when loading java applets

2008-11-09 Thread Adam Niedling
** Summary changed:

- The old plugin hangs firefox 3
+ The old plugin hangs firefox 3 when loading java applets

-- 
The old plugin hangs firefox 3 when loading java applets
https://bugs.launchpad.net/bugs/288397
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 288397] Re: The old plugin hangs firefox 3 when loading java applets

2008-11-09 Thread Adam Niedling
A working workaround:

1. Create this directory in your home directory: .mozilla/firefox/plugins/
2. Create a symlink in this directory: ln -s 
/usr/lib/jvm/java-6-sun-1.6.0.10/jre/lib/i386/libnpjp2.so libnpjp2.so

My netbank is working now.

-- 
The old plugin hangs firefox 3 when loading java applets
https://bugs.launchpad.net/bugs/288397
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs