Posts

How to install java in Linux mint

Image
Tutorial about How to install JRE for Linux Mint is almost identical for JDK. how to install java in linux mint,  how to install java in ubuntu,  1 :- First download java from official site " Download java "  2 :- Then install java  Mint comes with a OpenJDK version of java libraries, which shouldn't be used for example Android development. [1] 3. Open up the Terminal  (Alt + F2 > Terminal). 4. Remove OpenJDK installation. sudo apt-get update && apt-get remove openjdk* 5. Download Oracle JDK from here.  You are looking for a linux version with tar.gz extension. Also choose the right version from 32-bit (x86)  and 64bit (x64) one. 6. Change directory into one with downloaded tarball.  In my case $HOME/Downloads. cd ~/Downloads 7. Extract tarball. Replace with a name of dowloaded file. (just press Tab and it will be autocompleted.) tar -zxvf jdk- 8. As a root create a folder in /opt where jdk will be stored. sudo mkdir -p /opt/java 9. Mov...