Java - JAVA_HOME

> Procedural Languages > Java

1 - About

The JAVA_HOME is an environment variable that gives the path of a jdk or jre installation.

3 - Example

3.1 - Windows Dos

set JAVA_HOME="C:\Program Files\Java\jdk1.8.0_45"
echo %JAVA_HOME%
C:\Program Files\Java\jdk1.8.0_45
Advertising

3.2 - Linux Bash

export JAVA_HOME=/usr/java/jdk1.5.0_07/bin/java
lang/java/java_home.txt · Last modified: 2018/12/19 20:31 by gerardnico