Sun JDK on Ubuntu

Thought it would be simple, but apparently not. These are the instructions I followed first and the installer seemed to get stuck at 99% for some reason:


sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
sudo apt-get update
sudo apt-get install sun-java6-jdk
To get it to work, replaced the last 2 lines by:
sudo apt-get install sun-java6-jre sun-java6-plugin                           sudo update-alternatives --config java

Comments

Popular posts from this blog

endmenu in different file than menu?

Multi Threading in Android

A binary with debug symbols with the Android NDK