How to install java on ubuntu server

Jul 17, 2012, by admin

java-logoInstalling Java on other sharings of Linux can be difficult. But with Linux Ubuntu, it is usually simple as long as you have connection to the internet.

ubuntu-logoSteps to install java on ubuntu server

1.Open Terminal (Applications > Accessories > Terminal

2.Next, type the following into the terminal: sudo apt-get install sun-java6-bin sun-java6-fonts sun-java6-jre sun-java6-plugin and press Enter

Java3.Wait until it loads completely, then the terminal will change into an old-fashioned window with no mouse user interface. Use the down arrow to scroll down until you can’t scroll further. Then press the right arrow and hit enter to accept the license agreement.

ubuntu

4.After accepting the license agreement, Java will download and it will ask you several questions about configuration which you should choose based on what you want.