How to Install Java on Ubuntu
If you're a programmer, and use Ubuntu, then you're probably going to use Java at some point.
This how to will show you the steps it takes to install Java on the latest version of Ubuntu.
- Go in to Ubuntu.
- Open a Terminal window.
- Enter the command: sudo apt update
- Enter your password if prompted.
- Check to see if Java is already installed.
- Type: java -version
- If Java is NOT installed....
- Type: sudo apt install default-jre
- Enter your password.
- When prompted, type Y and press Enter.
- Java will be installed.
- To verify, do option 6 again.
- That's it.