Java Ubuntu Ubuntu 18.04

Install Java in Ubuntu

Step 1: Update system

apt-get update && apt-get upgrade

Step 2: Install Open JDK

sudo apt-get install default-jdk

Step 3: Check installation

Using the command: java -version, if it shows the version of java installed, it means its properly installed.


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.