Installing Java on Ubuntu Breezy
January 1st, 2006
- Download the Java Development Kit (or Runtime Environment) for Linux, self-extracting.
- Edit
/etc/apt/sources.listand unableuniverseandmultiverserepositories:deb http://us.archive.ubuntu.com/ubuntu breezy universe multiverse
deb http://us.archive.ubuntu.com/ubunty breezy-security universe multiverse - Install
java-packageandbuild-essentialpackages:# apt-get update # apt-get install java-package build-essential - Create a Debian package from the Java Linux, self-extracting file downloaded in step 1 and install the resulting package:
$ fakeroot make-jpkg sun-j2sdk1.5_
.bin $ sudo dpkg -i sun-j2sdk1.5_ .deb - Register the new package as the default Java environment:
# update-alternatives --config java - Define the Java-home environment variable by adding the following line into
~/.bash_profilefile:export JAVA_HOME=/usr/lib/j2sdk1.5-sun/
December 21st, 2011 at 6:37 PM
I actually wanted to make a simple remark to be able to thank you for all of the great hints you are placing at this website. My prolonged internet lookup has finally been recognized with reasonable strategies to exchange with my pals. I d assume that many of us visitors are very lucky to dwell in a perfect community with very many perfect professionals with insightful things. I feel truly lucky to have seen your weblog and look forward to many more fun moments reading here. Thank you once more for everything.