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


Mmm, I am really impressed with NOVO coffee. Very good! Maybe it's just because I've been drinking the Folgers coffee at the office.

Just saved $290 by changing the damn radiator myself

Doh, I ran out of propane halfway through a brew session. That added an extra hour to an already long brew day.

Follow me on Twitter