Hello 
As you known, Sun JDK version 1.5 or 5 is deleted from Ubuntu 10.4 and 9.10 repositories and the version 6 has been replaced.
The easiest way to install Sun JDK 5 version is add its repository from Ubuntu 9.04 to the list of repositories in 9.10 and 10.04. For this purpose, follow the steps.
1- Open /etc/apt/sources.list with a text editor like gedit:
sudo gedit /etc/apt/sources.list
2- Add the following lines to the end of the file then save it and close:
## For sun-java5-jdk deb http://ir.archive.ubuntu.com/ubuntu jaunty-updates main multiverse
3- Update the packages lists and install sun-java5-jdk:
sudo aptitude update sudo aptitude install sun-java5-jdk
* Above method can be used for other applications.
Another way to install jdk 5 is download software package and its dependencies from packages.ubuntu.com.
Good luck
Thanks! Easy for Ubuntu noobs like me 😉
Tks
thanks
its working.
It works very fine, thanks a lot.
Thanks.
It works..Thanks
Thanks a lot. It works alright.
Hi all,
i’m on Ubuntu 10.4 x64 .. i can’t build red5 with sun-java5-jdk ..
so i try .. sudo aptitude install sun-java6-jdk
don’t forget to – update-alternatives –config java
and choose right one ..
now red5 build is finis whit no err’s
have a nice day,
T.
thank you very much for your tip. very appreciated
roberto
Thanks.. It works for me too
Thanks ! This helped a lot ! I need still version 5 for Bonitasoft installation.
thanks
Hola!
Thanks for sharing your tip.
Ignacio
Thanks from Germany
thank you it work but after write the command the license (DLJ) appear in the terminal and I can do any thing How can continue this installation?
Press F8 to accept licence.
Changed the repository:
deb http://ir.archive.ubuntu.com/ubuntu hardy-updates main multiverse
thanks it works pretty fine
Hi,
I had java 1.6 on my ubuntu10.4.
Now i’ve removed java 1.6 and trying to install java5 by following above procedure. but I’m getting errors as follows while updating:
Err http://ir.archive.ubuntu.com jaunty-updates/main Packages
404 Not Found [IP: 91.189.88.45 80]
Err http://ir.archive.ubuntu.com jaunty-updates/multiverse Packages
404 Not Found [IP: 91.189.88.45 80]
—
Help me to get out of this issue!!
thank u… keep posting
It’s not working. It could not find any package matched “sun-java5-jdk”
could you tell us new source list?
Err http://ir.archive.ubuntu.com jaunty-updates/main Packages
404 Not Found [IP: 91.189.88.31 80]
Err http://ir.archive.ubuntu.com jaunty-updates/multiverse Packages
404 Not Found [IP: 91.189.88.31 80]
W: Failed to fetch http://ir.archive.ubuntu.com/ubuntu/dists/jaunty-updates/main/binary-i386/Packages.gz 404 Not Found [IP: 91.189.88.31 80]
W: Failed to fetch http://ir.archive.ubuntu.com/ubuntu/dists/jaunty-updates/multiverse/binary-i386/Packages.gz 404 Not Found [IP: 91.189.88.31 80]
not working. the link is broken.
You can use this repository:
deb http://ir.archive.ubuntu.com/ubuntu hardy-updates main multiverse
Good luck!!
Thanks, it works!
😀
Hi, I have Ubuntu 7.10 and I have tried to follow the steps given in the video.But uoerntunatfly I’m not getting the option Hardware Drivers’ from System > Administration > Hardware Drivers.Could u please let me know if there is any alternative procedure.Thanks in adv! :-/?