manual of the day… Install Sun Java under Ubuntu Linux
Install Sun Java under Ubuntu Linux
After i had problems with the normal Java Debian-Package i decided to install Java by myself.
Download a version of Java
I downloaded for example version 1.4.2 (http://java.sun.com/j2se/1.4.2/download.html)
Install fakeroot and java-package
We need these tools for building a Debian package out of the bin-file of Sun.
sudo apt-get install fakeroot java-package
Build and install the Debian package
fakeroot make-jpkg j2sdk-1_4_2_16-linux-i586.bin
Set this java version as the main version
sudo update-alternatives --config java


















