How to Install Java on Ubuntu
Installing Java on other distributions of Linux can be difficult. But with Linux Ubuntu, it is usually simple as long as you have connection to the Internet.
EditSteps
-
1Open Terminal (Applications > Accessories > TerminalAd
-
2Next, type the following into the terminal: "sudo apt-get install openjdk-7-jre" without quotes and press Enter
-
3Wait until it loads entirely, 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.
-
4After 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.Ad
EditVideo
EditTips
- Be sure to have a working Internet Connection!
EditWarnings
- Due to legal reasons, Java may not be released on-board with some of the newer Ubuntu kernels.
Article Info
Categories: Ubuntu
Recent edits by: Bridget Connolly, Byzantine95, Assem Wafek
In other languages:
Español: Cómo instalar Java en Ubuntu
Thanks to all authors for creating a page that has been read 56,292 times.