LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 10-26-2011, 04:30 PM   #1
jens
Senior Member
 
Registered: May 2004
Location: Belgium
Distribution: Debian, Slackware, Fedora
Posts: 1,426

Rep: Reputation: 268Reputation: 268Reputation: 268
Removal of sun-java


Quote:
As said in one of my previous blog post, we, Debian, were going to remove sun-java6 packages from the archive once critical security issues would come. It was supposed to happen sooner and later and here we are. The version 29 (see the #645881 Debian bug) of the Oracle proprietary JVM has been released. It fixes some critical issues but, because of the DLJ removal, Debian is no longer able to distribute it.

Unfortunately, we have no other choice than asking for a removal from the archive and promote the use of the openjdk 6 & 7.
The conclusion is:
apt-get --purge remove sun-java6-jre && apt-get install openjdk-7-jre
http://sylvestre.ledru.info/blog/syl...a6_from_debian
 
Old 10-27-2011, 12:05 AM   #2
Hungry ghost
Senior Member
 
Registered: Dec 2004
Distribution: Debian Sid, OpenSUSE 42.3
Posts: 1,217

Rep: Reputation: 660Reputation: 660Reputation: 660Reputation: 660Reputation: 660Reputation: 660
I use a java app (mercury messenger, to be specific), and the last time I tried to use the openjdk with it, some months ago, I experienced some issues. Hope it's fixed in the latest openjdk release.
 
Old 10-27-2011, 04:39 PM   #3
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,734
Blog Entries: 12

Rep: Reputation: 462Reputation: 462Reputation: 462Reputation: 462Reputation: 462
easy enough to download java from oracle if openjdk doesn't work for you
 
Old 10-27-2011, 05:06 PM   #4
Hungry ghost
Senior Member
 
Registered: Dec 2004
Distribution: Debian Sid, OpenSUSE 42.3
Posts: 1,217

Rep: Reputation: 660Reputation: 660Reputation: 660Reputation: 660Reputation: 660Reputation: 660
Yes, that's what I used to do some years ago (it's a bit of a hassle, though).
 
Old 10-29-2011, 04:25 AM   #5
michalng
Member
 
Registered: Dec 2005
Distribution: Debian KDE / Fluxbox
Posts: 222

Rep: Reputation: 46
Just to confirm,
in my squeeze install, apt still reports sun-java6 packages as available.

- any risk using sun-java6 as of today or I should go to openjdk-6 immediately?
- am I correct to say that icedtea6-plugin is required in place of sun-java6-plugin?


Thank in advance for the clarification.
 
Old 10-29-2011, 02:27 PM   #6
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,734
Blog Entries: 12

Rep: Reputation: 462Reputation: 462Reputation: 462Reputation: 462Reputation: 462
Quote:
Originally Posted by michalng View Post
Just to confirm,
in my squeeze install, apt still reports sun-java6 packages as available.

- any risk using sun-java6 as of today or I should go to openjdk-6 immediately?
- am I correct to say that icedtea6-plugin is required in place of sun-java6-plugin?


Thank in advance for the clarification.
See #645881 - critical update 29 available - Debian Bug report logs - http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=645881

I would either switch to Openjdk or download the current java 29 from Oracle.
 
1 members found this post helpful.
Old 10-29-2011, 08:12 PM   #7
michalng
Member
 
Registered: Dec 2005
Distribution: Debian KDE / Fluxbox
Posts: 222

Rep: Reputation: 46
Quote:
Originally Posted by craigevil View Post
See #645881 - critical update 29 available - Debian Bug report logs - http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=645881

I would either switch to Openjdk or download the current java 29 from Oracle.
craigevil, thanks for the link and advise.

1. Any advise (or link) on how to install sun-java on Debian and

2. How to remove sun-java (so as to install) when a new version comes out?

3. Installed and tested openjdk at https://www.java.com/en/download/testjava.jsp and got a message that it is only at update 18 (earlier than the outdated sun-java6 in non-free) .


Thanks in advance for the help.
Attached Thumbnails
Click image for larger version

Name:	5ca6pl.png
Views:	7
Size:	8.2 KB
ID:	8273  

Last edited by michalng; 10-29-2011 at 11:31 PM.
 
Old 10-29-2011, 11:35 PM   #8
Hungry ghost
Senior Member
 
Registered: Dec 2004
Distribution: Debian Sid, OpenSUSE 42.3
Posts: 1,217

Rep: Reputation: 660Reputation: 660Reputation: 660Reputation: 660Reputation: 660Reputation: 660
Quote:
Originally Posted by michalng View Post
any advise (or link) on how to install sun-java on Debian and
how to remove it (so as to install) when a new version comes out?
You need to download the self extracting package from Oracle website and follow the instructions. However, being a manual install, I would extract the package inside /opt (instead of /usr/java), and make a symbolic link to /opt/jre1.6.0_29/bin/java inside /usr/bin. As for the browser plugin, you need to make a symbolic link to /opt/jre1.6.0_29/plugin/i386/ns7/libjavaplugin_oji.so inside /usr/lib/iceweasel/plugins (in case you're using iceweasel, otherwise it should be in the plugins directory of the browser you use). Actually, the instructions on the website talk about making the symbolic link to <Java installation directory>/lib/i386/libnpjp2.so, but as far as I know, the the browser plugin library is libjavaplugin_oji.so, so I'm a bit confused (you can try each one separately to see which one works).

As for the uninstallation, basically you have to delete the directory 'jre1.6.0_29' from /opt, delete the 'java' sym link from /usr/bin as well as the plugin lib sym link from /usr/lib/iceweasel/plugins.

If this explanation is too confusing, please, say so and I'll post how to do it step by step.

Regards.
 
Old 10-30-2011, 12:40 AM   #9
Hungry ghost
Senior Member
 
Registered: Dec 2004
Distribution: Debian Sid, OpenSUSE 42.3
Posts: 1,217

Rep: Reputation: 660Reputation: 660Reputation: 660Reputation: 660Reputation: 660Reputation: 660
I juest tested, and indeed, the correct plugin lib is "<Java installation directory>/lib/i386/libnpjp2.so", as the instructions say.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Iceweasel Java plugin using the Apt version of Sun Java? Zaskar Debian 3 10-03-2008 08:35 AM
LXer: Java Look-Alike Project Pushed Sun To Make Java Open Source LXer Syndicated Linux News 0 11-15-2006 04:54 AM
LXer: Sun To Open Source Major Elements of Sun's Java Studio Enterprise ... LXer Syndicated Linux News 0 04-14-2006 12:33 AM
Blackdown java and offical sun java linuxmandrake Programming 5 12-25-2005 04:14 AM
Removal of Java Runtime Environment (JRE) scottpioso Linux - Software 5 06-03-2003 07:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 02:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration