Just type few lines and install it. First, enable the repository by editing /etc/apt/sources.list. So, open the source list by any test editor
sudo nano /etc/apt/sources.list
Add the following line in it
deb http://archive.canonical.com/ubuntu maverick partner
Then save and close the test editor. Keep in your mind that the repository link will be based on your Ubuntu version. My case Ubuntu version was 10.10. Now type following commends
sudo apt-get update sudo apt-get install sun-java6-jdk
Test that weather JDK is installed properly or not. Just type
java -version
You will get following message in terminal…
java version "1.6.0_24" Java(TM) SE Runtime Environment (build 1.6.0_24-b07) Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02, mixed mode)
It’s done. 🙂
Exceptional weblog in this article! Also your online site a lot up quick! What hosting company are you the application of? Can I are getting your internet marketer hyperlink with your host? My partner and i desire my site loaded as fast while yours great deal.