Blog Ronald

Welcome to my Blog

Install Java on Ubuntu

Posted by T. Ronald S. on April 23, 2009

1. Install JDK 6
sudo apt-get install sun-java6-jdk sun-java6-plugin
2. Choose the default java to use
sudo update-java-alternatives -l
sudo update-java-alternatives -s java-6-sun
java -version

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <pre> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>