Saturday, June 4, 2011

how to Install java in Ubuntu

Step 1
Make sure you are connected to Internet.

Step 2
Open the terminal (normally it is in the upper panel right after the firefox).

Step 3
type this command or copy & paste.
sudo apt-get install sun-java6-jdk

Step 4
Enter your account password in front of "[sudo] password for yourname"

Step 5
Then the rest is up to Internet & it will download the java from the source.

When you install this way, you don't need to set the path in .bashrc file for java. So that's how you install java. Now you are ready to explore the java world :)

No comments:

Post a Comment