Recent Comments
  1. Re: Onclick event only accessible by a user with edit rights

    Dude, I love you! I just wasted 2 days trying to find the problem. I didn't even notice in the begin...

    --Alex

How to install Sun Java on Ubuntu

Posted in By Nicholas Lu

Sun Java packages have been dropped from Ubuntu 10.04 LTS from the Multiverse section of Ubuntu archive. Ubuntu team is encouraging users to use OpenJDK instead of Sun JDK/JRE but still if you want to install Sun JDK on your Ubuntu then here is the solution:

$ sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
$ sudo apt-get update
$ sudo apt-get install sun-java6-jdk
or {Depending upon what you need)
$ sudo apt-get install sun-java6-jre

    Comments are closed for this post, but if you have spotted an error or have additional info that you think should be in this post, feel free to contact me.