sun-java6-jdk unter Ubuntu 10.04 Lucid

echo "deb http://archive.canonical.com/ubuntu lucid partner" | sudo tee /etc/apt/sources.list
sudo apt-get update
apt-get install sun-java6-jdk

export JAVA_HOME=/usr/lib/jvm/java-6-sun
export PATH=$JAVA_HOME/bin:$PATH

Tags: