Re: openjdk-7-jre and Iceweasel
On Thursday 29 September 2011 17:03:55 Dejan Ribič wrote: Dne 29.9.2011 17:54, piše Lisi: I am trying, without success, to run: http://media.pearsoncmg.com/aw/aw_kurose_network_2/applets/dns/dns.html The problem is the applet. The Java I have on my Lenny system is too old. Hardly surprising. So I switched to Wheezy. Still not OK. I checked: I only had openjdk-6-jre. So I installed openjdk-7-jre and its dependencies. Still no joy. I imagine that iceweasel is not using it at all, or not in the way that jre 7 needs. What can I do to run this applet? This is a course in OSS, so it shouldn't require anything proprietary. I am not sure this works with openjdk-7 but try to install icedtea-plugin. Thank you to all three of you. I finally manged to install icedtea-plugin from Sid, but now things are even worse! Before, I got a box with a message that I needed to install java. Now I just have a box-shaped light grey area with nothing else visible. :-( Any clues? I am beginning to think that I may have to install another distro just for this. :-( But I'll try Squeeze first. Sorry - I have not got you any further forward, Gilbert. Thanks again, Lisi -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/201109300728.32479.lisi.re...@gmail.com
Re: openjdk-7-jre and Iceweasel
On 30/09/11 01:54, Lisi wrote: I am trying, without success, to run: http://media.pearsoncmg.com/aw/aw_kurose_network_2/applets/dns/dns.html The problem is the applet. The Java I have on my Lenny system is too old. Hardly surprising. So I switched to Wheezy. Still not OK. I checked: I only had openjdk-6-jre. So I installed openjdk-7-jre and its dependencies. Still no joy. I imagine that iceweasel is not using it at all, or not in the way that jre 7 needs. What can I do to run this applet? This is a course in OSS, so it shouldn't require anything proprietary. Thanks Lisi Despite your optimistic expectations - it works with Oracle's JDK 6.0_27. I tried with openjdk-7-jre but the browser claimed it needed a plugin... yet update-alternatives looked correct. I haven't tried with icedtea. Cheers -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4e8573e8.9080...@gmail.com
Re: openjdk-7-jre and Iceweasel
At the moment, the icedtea-plugin package has a little problem (see its bugs #642734 and #642598). A workaround is to modify the file /etc/java-6-openjdk/security/java.policy : In this file replace: -- grant codeBase file:/usr/lib/jvm/java-6-openjdk-amd64/ext/* { permission java.security.AllPermission; }; grant codeBase file:/usr/lib/jvm/java-6-openjdk-common/ext/* { permission java.security.AllPermission; }; -- by this policy: -- grant codeBase file:/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/ext/* { permission java.security.AllPermission; }; grant codeBase file:/usr/lib/jvm/java-6-openjdk-common/jre/lib/ext/* { permission java.security.AllPermission; }; -- For me (with openjdk-6-jre), it works with the official test page http://www.java.com/en/download/help/testvm.xml . -- Best regards, Jörg-Volker. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/j63umj$ku4$1...@dough.gmane.org
Re: openjdk-7-jre and Iceweasel
On 09/30/2011 02:28 AM, Lisi wrote: ... Thank you to all three of you. I finally manged to install icedtea-plugin from Sid, but now things are even worse! Before, I got a box with a message that I needed to install java. Now I just have a box-shaped light grey area with nothing else visible. :-( Any clues? I am beginning to think that I may have to install another distro just for this. :-( But I'll try Squeeze first. Sorry - I have not got you any further forward, Gilbert. There have been many people trying to help me move forward for many years. Very few have succeeded in moving more than a few mm at a time. ;-) I'm going to give an adaptation of Torstein's suggestion a shot to see how well it works with testing/unstable. If I learn anything I'll be back. In the meantime, I watch with interest. Best regards, Gilbert -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4e85a08e.2060...@comcast.net
Re: openjdk-7-jre and Iceweasel
On Fri, 30 Sep 2011 07:28:32 +0100, Lisi wrote: On Thursday 29 September 2011 17:03:55 Dejan Ribič wrote: Dne 29.9.2011 17:54, piše Lisi: I am trying, without success, to run: http://media.pearsoncmg.com/aw/aw_kurose_network_2/applets/dns/ dns.html The problem is the applet. The Java I have on my Lenny system is too old. Hardly surprising. So I switched to Wheezy. Still not OK. I checked: I only had openjdk-6-jre. So I installed openjdk-7-jre and its dependencies. Still no joy. I imagine that iceweasel is not using it at all, or not in the way that jre 7 needs. What can I do to run this applet? This is a course in OSS, so it shouldn't require anything proprietary. I am not sure this works with openjdk-7 but try to install icedtea-plugin. Thank you to all three of you. I finally manged to install icedtea-plugin from Sid, but now things are even worse! Before, I got a box with a message that I needed to install java. Now I just have a box-shaped light grey area with nothing else visible. :-( Any clues? I am beginning to think that I may have to install another distro just for this. :-( But I'll try Squeeze first. Sorry - I have not got you any further forward, Gilbert. Thanks again, Lisi I have a stock Squeeze installation, and the page you referenced works for me. Here is my setup: $ java -version java version 1.6.0_18 OpenJDK Runtime Environment (IcedTea6 1.8.9) (6b18-1.8.9-0.1~squeeze1) OpenJDK 64-Bit Server VM (build 14.0-b16, mixed mode) $ dpkg -l | grep icedtea ii icedtea6-plugin 6b18-1.8.9-0.1~squeeze1 web browser plugin based on OpenJDK and IcedTea to execute Java applets $ firefox --version Mozilla Iceweasel 3.5.16, Copyright (c) 1998 - 2010 mozilla.org Hope this helps. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/j647g7$2ks$1...@dough.gmane.org
Re: openjdk-7-jre and Iceweasel
On Friday 30 September 2011 12:00:23 Walter Hurry wrote: On Fri, 30 Sep 2011 07:28:32 +0100, Lisi wrote: On Thursday 29 September 2011 17:03:55 Dejan Ribič wrote: Dne 29.9.2011 17:54, piše Lisi: I am trying, without success, to run: http://media.pearsoncmg.com/aw/aw_kurose_network_2/applets/dns/ dns.html The problem is the applet. The Java I have on my Lenny system is too old. Hardly surprising. So I switched to Wheezy. Still not OK. I checked: I only had openjdk-6-jre. So I installed openjdk-7-jre and its dependencies. Still no joy. I imagine that iceweasel is not using it at all, or not in the way that jre 7 needs. What can I do to run this applet? This is a course in OSS, so it shouldn't require anything proprietary. I am not sure this works with openjdk-7 but try to install icedtea-plugin. Thank you to all three of you. I finally manged to install icedtea-plugin from Sid, but now things are even worse! Before, I got a box with a message that I needed to install java. Now I just have a box-shaped light grey area with nothing else visible. :-( Any clues? I am beginning to think that I may have to install another distro just for this. :-( But I'll try Squeeze first. Sorry - I have not got you any further forward, Gilbert. Thanks again, Lisi I have a stock Squeeze installation, and the page you referenced works for me. Here is my setup: $ java -version java version 1.6.0_18 OpenJDK Runtime Environment (IcedTea6 1.8.9) (6b18-1.8.9-0.1~squeeze1) OpenJDK 64-Bit Server VM (build 14.0-b16, mixed mode) $ dpkg -l | grep icedtea ii icedtea6-plugin 6b18-1.8.9-0.1~squeeze1 web browser plugin based on OpenJDK and IcedTea to execute Java applets $ firefox --version Mozilla Iceweasel 3.5.16, Copyright (c) 1998 - 2010 mozilla.org Hope this helps. Thanks very much Harry! I haven't currently got a working Squeeze. That will be remedied this afternoon, and then I'll try and copy your set-up. I want to do that anyway, this just gives me a reason why it can move up the priority list! Of course, even if it works it won't help you Gilbert. Sorry about that! Lisi -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/201109301233.16401.lisi.re...@gmail.com
Re: openjdk-7-jre and Iceweasel
On Friday 30 September 2011 09:30:35 Jörg-Volker Peetz wrote: At the moment, the icedtea-plugin package has a little problem (see its bugs #642734 and #642598). A workaround is to modify the file /etc/java-6-openjdk/security/java.policy : In this file replace: -- grant codeBase file:/usr/lib/jvm/java-6-openjdk-amd64/ext/* { permission java.security.AllPermission; }; grant codeBase file:/usr/lib/jvm/java-6-openjdk-common/ext/* { permission java.security.AllPermission; }; -- by this policy: -- grant codeBase file:/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/ext/* { permission java.security.AllPermission; }; grant codeBase file:/usr/lib/jvm/java-6-openjdk-common/jre/lib/ext/* { permission java.security.AllPermission; }; -- For me (with openjdk-6-jre), it works with the official test page http://www.java.com/en/download/help/testvm.xml . -- Best regards, Jörg-Volker. Thank you for this. I appreciate the help. In the end I tried it before scrapping everything and starting again with Trinity. It didn't work, but by then I had tried so many different things that I think that my poor installation was tied in knots and didn't know whether it was coming or going. Lisi -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/201109302226.25386.lisi.re...@gmail.com
SOLVED: was Re: openjdk-7-jre and Iceweasel
On Friday 30 September 2011 12:00:23 Walter Hurry wrote: On Fri, 30 Sep 2011 07:28:32 +0100, Lisi wrote: On Thursday 29 September 2011 17:03:55 Dejan Ribič wrote: Dne 29.9.2011 17:54, piše Lisi: I am trying, without success, to run: http://media.pearsoncmg.com/aw/aw_kurose_network_2/applets/dns/ dns.html The problem is the applet. The Java I have on my Lenny system is too old. Hardly surprising. So I switched to Wheezy. Still not OK. I checked: I only had openjdk-6-jre. So I installed openjdk-7-jre and its dependencies. Still no joy. I imagine that iceweasel is not using it at all, or not in the way that jre 7 needs. What can I do to run this applet? This is a course in OSS, so it shouldn't require anything proprietary. I am not sure this works with openjdk-7 but try to install icedtea-plugin. Thank you to all three of you. I finally manged to install icedtea-plugin from Sid, but now things are even worse! Before, I got a box with a message that I needed to install java. Now I just have a box-shaped light grey area with nothing else visible. :-( Any clues? I am beginning to think that I may have to install another distro just for this. :-( But I'll try Squeeze first. Sorry - I have not got you any further forward, Gilbert. Thanks again, Lisi I have a stock Squeeze installation, and the page you referenced works for me. Here is my setup: $ java -version java version 1.6.0_18 OpenJDK Runtime Environment (IcedTea6 1.8.9) (6b18-1.8.9-0.1~squeeze1) OpenJDK 64-Bit Server VM (build 14.0-b16, mixed mode) $ dpkg -l | grep icedtea ii icedtea6-plugin 6b18-1.8.9-0.1~squeeze1 web browser plugin based on OpenJDK and IcedTea to execute Java applets $ firefox --version Mozilla Iceweasel 3.5.16, Copyright (c) 1998 - 2010 mozilla.org Hope this helps. It certainly did. It went without a hitch. And I now have Trinity back again too. (A few days of living with Wheezy's version of LXDE had convinced me that life is too short to waste any of it stranded without KDE3, or any functioning desktop. Though had I succeeded in getting going the things I need, I'd have stuck even that out.) So thank you very much. (And sorry Gilbert.) Lisi -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/201109302233.26067.lisi.re...@gmail.com
Re: openjdk-7-jre and Iceweasel
On Friday 30 September 2011 08:46:48 Scott Ferguson wrote: On 30/09/11 01:54, Lisi wrote: I am trying, without success, to run: http://media.pearsoncmg.com/aw/aw_kurose_network_2/applets/dns/dns.html The problem is the applet. The Java I have on my Lenny system is too old. Hardly surprising. So I switched to Wheezy. Still not OK. I checked: I only had openjdk-6-jre. So I installed openjdk-7-jre and its dependencies. Still no joy. I imagine that iceweasel is not using it at all, or not in the way that jre 7 needs. What can I do to run this applet? This is a course in OSS, so it shouldn't require anything proprietary. Thanks Lisi Despite your optimistic expectations - it works with Oracle's JDK 6.0_27. I tried with openjdk-7-jre but the browser claimed it needed a plugin... yet update-alternatives looked correct. I haven't tried with icedtea. Thank you for this. I did try this, but as I have said elsewhere, I had in the end tried so many different things that they must all have been tripping over each other, and it didn't work. Lisi -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/201109302252.31804.lisi.re...@gmail.com
openjdk-7-jre and Iceweasel
I am trying, without success, to run: http://media.pearsoncmg.com/aw/aw_kurose_network_2/applets/dns/dns.html The problem is the applet. The Java I have on my Lenny system is too old. Hardly surprising. So I switched to Wheezy. Still not OK. I checked: I only had openjdk-6-jre. So I installed openjdk-7-jre and its dependencies. Still no joy. I imagine that iceweasel is not using it at all, or not in the way that jre 7 needs. What can I do to run this applet? This is a course in OSS, so it shouldn't require anything proprietary. Thanks Lisi -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/201109291654.45629.lisi.re...@gmail.com
Re: openjdk-7-jre and Iceweasel
Dne 29.9.2011 17:54, piše Lisi: I am trying, without success, to run: http://media.pearsoncmg.com/aw/aw_kurose_network_2/applets/dns/dns.html The problem is the applet. The Java I have on my Lenny system is too old. Hardly surprising. So I switched to Wheezy. Still not OK. I checked: I only had openjdk-6-jre. So I installed openjdk-7-jre and its dependencies. Still no joy. I imagine that iceweasel is not using it at all, or not in the way that jre 7 needs. What can I do to run this applet? This is a course in OSS, so it shouldn't require anything proprietary. Thanks Lisi Hi, I am not sure this works with openjdk-7 but try to install icedtea-plugin. Cheers, Dejan -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4e8496eb.2010...@gmail.com
Re: Installing icedtea-plugin from Sid on Wheezy system - was Re: openjdk-7-jre and Iceweasel
On 09/29/2011 03:37 PM, Lisi wrote: On Thursday 29 September 2011 17:03:55 Dejan Ribič wrote: Dne 29.9.2011 17:54, piše Lisi: I am trying, without success, to run: http://media.pearsoncmg.com/aw/aw_kurose_network_2/applets/dns/dns.html I am not sure this works with openjdk-7 but try to install icedtea-plugin. It seems to be available only in Sid. I have never tried to mix systems before. I first thought of putting Sid into my sources.list, installing icedtea-plugin and then commenting Sid out of my sources.list. But that won't work will it? Becauseaafter adding Sid to tehsources.list I would have to run update, would I not? And I don't want everything updated to Sid. So where do I go from here? Thanks, Lisi Hi, Lisi. I am by no means an expert at running mixed systems. But I can tell you my experience from a few weeks ago with this exact issue. I had been happily using the icedtea plugin with the OpenJDK JRE on my old system running Wheezy. I got a new system and did a new installation of Wheezy on it and on my spare laptop, and there was no icedtea plugin to be found in the repository. I learned that the old icedtea plugin was going to be replaced by an icedtea-netx plugin -- or something with a name approximately along those lines. Anyway, nothing of the sort was currently available from the wheezy main repository. I added the unstable main lines to my /etc/apt/sources.list file, then ran aptitude (interactive mode) and ran an update. I then searched for and selected ONLY the openjdk jre and the icedtea-netx and installed them. (I left all of the thousands of upgrades available on HOLD.) I then commented out the sid lines in the sources.list file and ran aptitude update again, and that reverted everything so that aptitude would not think that it needed to install a jillion upgrades. It worked after a fashion, but dealing with the iceweasel browser version changes that have been making their way into wheezy and trying to keep the icedtea / netx plugin and jre from sid updated just got to be a pain, so I ripped them out of the system and stopped using Java for the time being. I've been waiting for a number of weeks for this stuff to get hashed out and make its way from unstable to testing, but I'm not holding my breath any longer. You, however, have a more compelling reason to want the function than do I. (I only used it for playing online crossword puzzles. Doh!) If you subscribe to the distro-pkg-...@open.jdk.net list you can see that there's a lot of activity -- and, apparently, a little bit of infighting, too. But I'm not sure we can expect to see a solution very soon -- at least not if I'm interpreting what I read there correctly. I'm guessing that those folks have to arrive at more suitable solutions before the package managers for the Debian Wheezy packages dare to bring the packages into Wheezy. I use only the main repositories, not even deigning to use proprietary firmware on any of my systems. Obviously, I'm going to be stubborn and not install the Sun java jre. So I'm stuck until this is fixed. I love my Wheezy and don't want to go back to stable, but the Squeeze folks do have it better right now with regards to this particular issue. They still get to use FOSS for supporting Java applets. Now -- if I've stuck my foot in my mouth, and someone has a better idea of what the heck is going on and when we might hope to see a fix for using Java applets in Wheezy (without resorting to the Sun JRE) I hope this person or persons will step right up, whack me in the head with a clue-by-four, and enlighten me. And then you (Lisi) and I will have an idea of how we should proceed. Here's hoping you find the answer that I've just been waiting for and wishing for! Best regards, Gilbert -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4e84d5ce.2020...@comcast.net
Installing icedtea-plugin from Sid on Wheezy system - was Re: openjdk-7-jre and Iceweasel
On Thursday 29 September 2011 17:03:55 Dejan Ribič wrote: Dne 29.9.2011 17:54, piše Lisi: I am trying, without success, to run: http://media.pearsoncmg.com/aw/aw_kurose_network_2/applets/dns/dns.html I am not sure this works with openjdk-7 but try to install icedtea-plugin. It seems to be available only in Sid. I have never tried to mix systems before. I first thought of putting Sid into my sources.list, installing icedtea-plugin and then commenting Sid out of my sources.list. But that won't work will it? Becauseaafter adding Sid to tehsources.list I would have to run update, would I not? And I don't want everything updated to Sid. So where do I go from here? Thanks, Lisi -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/201109292037.16909.lisi.re...@gmail.com
Re: Installing icedtea-plugin from Sid on Wheezy system - was Re: openjdk-7-jre and Iceweasel
Hi there, On 9/30/11 3:37 AM, Lisi wrote I am not sure this works with openjdk-7 but try to install icedtea-plugin. It seems to be available only in Sid. I have never tried to mix systems before. I first thought of putting Sid into my sources.list, installing icedtea-plugin and then commenting Sid out of my sources.list. But that won't work will it? Becauseaafter adding Sid to tehsources.list I would have to run update, would I not? And I don't want everything updated to Sid. So where do I go from here? I'd recommend you to add this to your /etc/apt/preferences: Package: * Pin: release a=stable Pin-Priority: 700 Package: * Pin: release a=testing Pin-Priority: 650 Package: * Pin: release a=unstable Pin-Priority: 600 Then, when having both stable sid in your sources.list, stable will always be preferred. Now, if you want to install something from unstable, you do: # apt-get install -t unstablepackage Cheers, -Torstein -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4e854376.6070...@gmail.com