LinuxQuestions.org
Review your favorite Linux distribution.
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, 03:30 PM   #1
jens
Senior Member
 
Registered: May 2004
Location: Belgium
Distribution: Debian, Slackware, Fedora
Posts: 1,463

Rep: Reputation: 299Reputation: 299Reputation: 299
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-26-2011, 11:05 PM   #2
Hungry ghost
Senior Member
 
Registered: Dec 2004
Posts: 1,222

Rep: Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667
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, 03:39 PM   #3
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,883
Blog Entries: 28

Rep: Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533
easy enough to download java from oracle if openjdk doesn't work for you
 
Old 10-27-2011, 04:06 PM   #4
Hungry ghost
Senior Member
 
Registered: Dec 2004
Posts: 1,222

Rep: Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667
Yes, that's what I used to do some years ago (it's a bit of a hassle, though).
 
Old 10-29-2011, 03: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, 01:27 PM   #6
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,883
Blog Entries: 28

Rep: Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533
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, 07: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:	11
Size:	8.2 KB
ID:	8273  

Last edited by michalng; 10-29-2011 at 10:31 PM.
 
Old 10-29-2011, 10:35 PM   #8
Hungry ghost
Senior Member
 
Registered: Dec 2004
Posts: 1,222

Rep: Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667
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-29-2011, 11:40 PM   #9
Hungry ghost
Senior Member
 
Registered: Dec 2004
Posts: 1,222

Rep: Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667
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 07:35 AM
LXer: Java Look-Alike Project Pushed Sun To Make Java Open Source LXer Syndicated Linux News 0 11-15-2006 03:54 AM
LXer: Sun To Open Source Major Elements of Sun's Java Studio Enterprise ... LXer Syndicated Linux News 0 04-13-2006 11:33 PM
Blackdown java and offical sun java linuxmandrake Programming 5 12-25-2005 03:14 AM
Removal of Java Runtime Environment (JRE) scottpioso Linux - Software 5 06-03-2003 06:44 AM

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

All times are GMT -5. The time now is 10:32 AM.

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
Open Source Consulting | Domain Registration