Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Other Community Discussions > Development & Programming > Ubuntu Forum Archives > Karmic Koala Testing and Discussion (CLOSED)
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Karmic Koala Testing and Discussion (CLOSED)
Ubuntu Karmic Koala is in development, use only for testing purposes!!!

This forum is for the discussion of Ubuntu Karmic Koala. Karmic is in development and will be out in October 2009. Please note: Ubuntu Developers do not usually read the forums, to report a problem found in Karmic please report the bug in Launchpad.


 
 
Thread Tools Display Modes
Old October 12th, 2009   #1
raptor_mig
First Cup of Ubuntu
 
Join Date: Oct 2004
Beans: 3
Exclamation Can't install Sun java 5 JDK in Karmic Koala

I can't install sun-java5-jdk package in the latest Karmic Koala beta release. It gives me the next message.

$ sudo apt-get install sun-java5-jdk
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package sun-java5-jdk is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package sun-java5-jdk has no installation candidate


I really need the Java 5 version of the JDK for development and testing, and like me there should be a lot of users.
raptor_mig is offline  
Old October 21st, 2009   #2
steveolyo
First Cup of Ubuntu
 
Join Date: Jan 2008
Beans: 1
Re: Can't install Sun java 5 JDK in Karmic Koala

Get java5 from the Jaunty repository.

Java5 should be put back in the Karmic repository. I too have a project that only works on Java5 and apparently I'm not alone.

I did see this tidbit:
http://osdir.com/ml/ubuntu-archive/2.../msg00004.html

So to get the repo for java5 add these lines to your /etc/apt/sources.list

deb http://us.archive.ubuntu.com/ubuntu/ jaunty multiverse
deb http://us.archive.ubuntu.com/ubuntu/ jaunty-updates multiverse

Steveolyo
steveolyo is offline  
Old October 21st, 2009   #3
steeleyuk
Skinny Soy Caramel Ubuntu
 
steeleyuk's Avatar
 
Join Date: May 2007
Location: Bolton, UK
Beans: 652
Ubuntu 9.10 Karmic Koala
Send a message via MSN to steeleyuk
Re: Can't install Sun java 5 JDK in Karmic Koala

Can you not use Java 6?

Support can't be maintained forever on a particular version... security issues, bugs and all.
steeleyuk is offline  
Old October 22nd, 2009   #4
LittleKoy
A Carafe of Ubuntu
 
Join Date: Sep 2007
Beans: 119
Ubuntu Jaunty Jackalope (testing)
Re: Can't install Sun java 5 JDK in Karmic Koala

Quote:
Originally Posted by steeleyuk View Post
Can you not use Java 6?

Support can't be maintained forever on a particular version... security issues, bugs and all.
Unfortunately no. If Java 5 JDK is not there, Karmic will be taboo for many Java developers (like me).
LittleKoy is offline  
Old October 25th, 2009   #5
raptor_mig
First Cup of Ubuntu
 
Join Date: Oct 2004
Beans: 3
Re: Can't install Sun java 5 JDK in Karmic Koala

Quote:
Originally Posted by steeleyuk View Post
Can you not use Java 6?

Support can't be maintained forever on a particular version... security issues, bugs and all.
Unfortunately I can't work with Java 6. I have develop and test all my work in Java 5.
If I can't have Java5 in Karmic I won't upgrade to it, as I'm sure many Java developers won't.
raptor_mig is offline  
Old October 26th, 2009   #6
rickh57
5 Cups of Ubuntu
 
Join Date: Mar 2006
Location: Portland, Oregon
Beans: 34
Ubuntu 9.10 Karmic Koala
Re: Can't install Sun java 5 JDK in Karmic Koala

I just went to java.sun.com and downloaded JDK 1.5.0_21 for linux. I then installed that under Karmic (into my home folder). By pointing JAVA_HOME at the install directory, Java 5 works fine for me in compiling and executing my application, along with ant, junit, etc.
rickh57 is offline  
Old October 26th, 2009   #7
froggyswamp
Way Too Much Ubuntu
 
froggyswamp's Avatar
 
Join Date: May 2009
Beans: 302
Re: Can't install Sun java 5 JDK in Karmic Koala

As rickh57 said, get it from java.sun.com, I have a backup copy just in case they require subscription for such old stuff. Anyway Java 5 is already the IE6 of browsers, people should really drop it dead, Apple also upgraded long ago to Java 6.
Imho Java EE 5 can and should be used with Java (JRE) 6
Also Java 5 had lots of rendering issues as well as printing issues unresolved (on Ubuntu and Linux in general).
__________________
Nautilus - the champion of sluggishness and HDD trashing.
froggyswamp is offline  
Old October 26th, 2009   #8
pferraro
A Carafe of Ubuntu
 
pferraro's Avatar
 
Join Date: Aug 2006
Location: New York, USA
Beans: 130
Ubuntu Karmic Koala (testing)
Re: Can't install Sun java 5 JDK in Karmic Koala

JDK 5 will no longer be supported by Sun by the time Karmic is released. See http://java.sun.com/javase/downloads/index_jdk5.jsp
Quote:
J2SE 5.0 is in its Java Technology End of Life (EOL) transition period. The EOL transition period began April 8th, 2008 and will complete October 30th, 2009, when J2SE 5.0 will have reached its End of Service Life (EOSL). Customers interested in learning more about Sun's Java Technology Support and EOL policy. »Read More
Customers interested in continuing to receive critical fixes, are encouraged to consider the following options:

* Migrate to the latest Java SE release »Read More
* Migrate to Java SE for Business 5.0 »Read More
pferraro is offline  
 

Bookmarks

Tags
java, java 5.0, jdk

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:59 AM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry