You can also press Alt+Ctrl+T to bring up the Terminal window.

If doing this results in an error, Java didn’t install correctly. You may need to try installing it manually.

Type in sudo apt autoremove and press ↵ Enter. Type in y and press ↵ Enter.

You may first have to click Save to prompt the download to begin.

Click once the extracted folder to select it. Press Ctrl+X to cut the folder. Go to the folder you want to use as an installation location and open it. Press Ctrl+V to paste in the extracted Java folder.

Right-click the “bin” folder. Click Properties. Expand the “Properties” window by clicking and dragging right its right side until the entire “Location” path is visible. Select the “Location” path by clicking and dragging your mouse across it. Press Ctrl+C to copy the path.

Open Terminal. Type in gedit . profile and press ↵ Enter.

export JAVA_HOME=/home/name/java/jre1. 8. 0_181

Click {“smallUrl”:“https://www. wikihow. com/images/8/82/Android7dropdown. png”,“bigUrl”:"/images/thumb/8/82/Android7dropdown. png/30px-Android7dropdown. png",“smallWidth”:460,“smallHeight”:460,“bigWidth”:30,“bigHeight”:30,“licensing”:"<div class="mw-parser-output">

I edited this screenshot of an Android icon. \n</p>

License: <a target="_blank" rel="nofollow noreferrer noopener" class="external text" href="http://en. wikipedia. org/wiki/Fair_use">Fair Use</a>
\n</p></div>"} in the top-right corner of the screen. Click {“smallUrl”:“https://www. wikihow. com/images/5/5d/Windowspower. png”,“bigUrl”:"/images/thumb/5/5d/Windowspower. png/30px-Windowspower. png",“smallWidth”:460,“smallHeight”:460,“bigWidth”:30,“bigHeight”:30,“licensing”:"<div class="mw-parser-output">

I edited this screenshot of a Windows icon. \n</p>

License: <a target="_blank" rel="nofollow noreferrer noopener" class="external text" href="http://en. wikipedia. org/wiki/Public_domain">Public Domain</a>
\n</p></div>"} in the resulting drop-down menu. Click Restart when prompted.