In which scenario we go for the JRE_HOME
? If I have not mention JRE_HOME
what will happen?
Asked
Active
Viewed 3,775 times
2

Mr. Blond
- 1,113
- 2
- 18
- 41

Mahesh Nayakawad
- 21
- 1
- 2
1 Answers
5
- Variable
JRE_HOME
is used forJRE
(Java Runtime Environment). It's the Java Virtual Machine where Java programs run on. My example of%JRE_HOME%
:C:\Dev\jre1.8.0_65
- Variable
JAVA_HOME
is used forJDK
(Java Development Kit). It's the development kit to create and compile programs in Java. My example of%JAVA_HOME%
:C:\Dev\jdk1.8.0_65
Shortly you use JRE
in case you care of running programs only. On the other hand developing Java programs requires JDK
.

Nikolas Charalambidis
- 40,893
- 16
- 117
- 183
-
Ya, We have to give the specified directory path, But When to use JRE_Home is my question – Mahesh Nayakawad Aug 22 '16 at 09:50
-
Edited, I have explained the difference and the case of use. – Nikolas Charalambidis Aug 22 '16 at 09:53