Cannot install Sun JDK on Ubuntu 10.04
Recently, I’ve upgraded to use Ubuntu 10.04. It seems that by default, I can’t just use “sudo apt-get install sun-java6-bin” to download the java package. After doing Google for the solution, I’ve come across a working solution. I need to add apt repository first, before I can download the java package:
sudo add-apt-repository “deb http://archive.canonical.com/ lucid partner”
sudo apt-get update
NOTE: Be mindful of the double-quotes in case you are doing a copy-paste from the webpage.
0 Comments.