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