Also, since Sun's Java was mentioned earlier, here's a more "correct"
way of installing it in Lucid:

sudo apt-add-repository 'deb http://archive.canonical.com/ lucid partner'
sudo apt-get update
sudo aptitude install sun-java6-jre

If you just want to run a single application in Sun's Java, you can run:

/usr/lib/jvm/java-6-sun/bin/java -jar /path/to/program.jar

else, as Philipp Lies wrote, type:

sudo update-alternatives --config java

and select "/usr/lib/jvm/java-6-sun/jre/bin/java" (probably the
selection labeled "2")

-- 
Fonts in Java application are distorted
https://bugs.launchpad.net/bugs/520515
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to