sudo aptitude install sun-java6-bin sun-java6-jre sun-java6-jdk
Next, to make Sun Java the default Java interpreter (rather than GCJ):
sudo update-alternatives --config java
and choose the correct option for Sun Java, ie. /usr/lib/jvm/java-6-sun/jre/bin/java.
Links of Interest
Ubuntu's Wiki page concerning Java
No comments:
Post a Comment