Java 6 in Ubuntu, The Right Way

Ubuntu has made it extremely easy to install the Sun Java Development Environment. This is good, because the default java-gcj is very slow.

First install the package with: sudo apt-get install sun-java6-jdk

That may take a while since the package is 125MB. Once it is installed, you still need to make it the default:

sudo update-java-alternatives -s java-6-sun


 
 
 

One Response to “Java 6 in Ubuntu, The Right Way”

  1. Eric W.
    14:45 on July 12th, 2007

    Ahh, another reason why Feisty rocks.

Leave a Reply


nice work! Michelle has been using Ubuntu successfully for about a year. I don't think Erica will have any problem picking it up

Just went to a Belgian beer tasting. Tried 30+ beers. Taste buds are in heaven!

Just witnessed history in the making!

Follow me on Twitter