Installing Java on Ubuntu Breezy
0 Comments Published by Felipe Alfaro Solana January 1st, 2006 in Java, Ubuntu- 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/
No Comments to “Installing Java on Ubuntu Breezy”
Please Wait
Leave a Reply