Software >> OS >> Unix >> Linux >> Applications >> JRE >> How to set up Java Runtime Enviroment (JRE)

download jre from internet eg. in tar.gz format # tar -zxvf <jre_tar_gz_file> -C /parentdestinationdir set the following environment variables JAVA_HOME, PATH, CLASSPATH eg. setup into /usr/jre118 export JAVA_HOME=/usr/jre118 export PATH=$JAVA_HOME;$PATH