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-68246234099c7051798968/] and press enter. Wait for the file to completely install, when it shows done then move to the next step.