LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 05-03-2010, 05:43 AM   #1
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,409

Rep: Reputation: 53
About openjdk-6-jdk


Hi folks,

Ubuntu 10.04 lucid

sun-java6-jdk has been dropped from the Multiverse section of the Ubuntu archive. They recommend using openjdk-6 instead.

Is there any difference between these 2 packages? TIA

satimis
 
Old 05-03-2010, 04:22 PM   #2
madiba
LQ Newbie
 
Registered: Apr 2010
Posts: 2

Rep: Reputation: 0
Quote:
Originally Posted by satimis View Post
Hi folks,

Ubuntu 10.04 lucid

sun-java6-jdk has been dropped from the Multiverse section of the Ubuntu archive. They recommend using openjdk-6 instead.

Is there any difference between these 2 packages? TIA

satimis
Well, I don't know if they differ but I experienced some problems with open-jdk (couldn't use on-line storage - adrive.com) so I switched to sun-java after all.

I would suggest you to try staying with open-jdk at the moment. If it works for you why to change to proprietary soft?
 
Old 05-03-2010, 04:22 PM   #3
ksa618
LQ Newbie
 
Registered: May 2010
Location: Norway
Posts: 1

Rep: Reputation: 0
There shouldn't be much difference except that sun-java6-jdk is released under a non-free license, while openjdk is released under the GPL with a linking exception. There were some components missing from openjdk, but I don't know if that has been fixed now. The only difference I've seen was a button that rendered a little different when using swing, but that may have been fixed since I last used swing.
 
Old 05-03-2010, 06:07 PM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,543

Rep: Reputation: 2509Reputation: 2509Reputation: 2509Reputation: 2509Reputation: 2509Reputation: 2509Reputation: 2509Reputation: 2509Reputation: 2509Reputation: 2509Reputation: 2509
I prefer sun-java6-jdk ..


A manual method for the install :
http://ubuntuforums.org/showthread.php?t=1460594
..... Some packages depend on 'sun-java6-jdk' ?
Also see post #10, please. ........


.. Or add some "karmic" lines to /etc/apt/sources.list , to use
sudo apt-get update && sudo apt-get install sun-java6-jdk ..
(Please use the url, you have for lucid.)
My example, the Danish url :

deb http://dk.archive.ubuntu.com/ubuntu/ karmic universe
deb http://dk.archive.ubuntu.com/ubuntu/ karmic-updates universe

deb http://dk.archive.ubuntu.com/ubuntu/ karmic multiverse
deb http://dk.archive.ubuntu.com/ubuntu/ karmic-updates multiverse


sudo update-alternatives --config java
.. is required if you have other 'java' installed.
..

Last edited by knudfl; 05-03-2010 at 06:13 PM.
 
  


Reply

Tags
sun java6 jdk


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
Installing OpenJDK MTK358 Linux - Software 2 11-18-2009 08:35 AM
Where to get JDK 1.5.0_08 and JDK 1.6.0_10 for Linux Redhat Itanium servers java_ascii Linux - Software 1 09-22-2009 11:17 AM
LXer: Open source project: OpenJDK LXer Syndicated Linux News 0 05-17-2008 10:20 AM
LXer: Ubuntu 8, Fedora 9 package OpenJDK LXer Syndicated Linux News 0 04-30-2008 11:01 PM
how to use Jdk 1.3.1 in RH 9 Egyptian_Isis Linux - Newbie 1 11-06-2003 04:15 AM


All times are GMT -5. The time now is 09:58 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration