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


There is a fine line between a generic flexible UI and a crappy one:

Got the Chocolate Raspberry Stout in the fermenter. I can't wait to taste it.

Just poured out 10 Liters of overly-carbonated, accidentally-alcoholic, plastic-flavored, homemade root beer. Lessons learned: 3!

Follow me on Twitter