Contents
How do I install Java on Linux Mint?
How to install Oracle JDK on Linux Mint
- Open up the Terminal (Alt + F2 > Terminal).
- Remove OpenJDK installation. …
- Download Oracle JDK from here. …
- Change directory into one with downloaded tarball. …
- Extract tarball. …
- As a root create a folder in /opt where jdk will be stored. …
- Move extracted folder to /opt/java.
How do I install Java on Linux?
Change to the directory in which you want to install.
- Change to the directory in which you want to install. Type: cd directory_path_name. …
- Move the . tar. gz archive binary to the current directory.
- Unpack the tarball and install Java. tar zxvf jre-8u73-linux-i586.tar.gz. …
- Delete the . tar.