JDK & JRE Easy Installation Steps for Ubuntu

Step 1- Open the terminal window by CTRL+ALT+T. Install the default JDK by the following command [crayon-6767dc755216b031688793/] and press enter. Wait for the file to completely install, when it shows done then move to the next step.