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