Install and configure java on linux

## Download jre from Java website https://www.java.com at this time you can download it here:

## move and extract the package to the destiny of the installation. (usually /usr/local/)

mv ~/Descargas/jre-8u31-linux-x64.tar.gz /usr/local/

tar -xzvf <jre-8u31-linux-x64.tar.gz>

## Set JAVA_HOME variable

export JAVA_HOME=/usr/local/<name_of_dir>
Advertisements

One thought on “Install and configure java on linux”

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s