You might have either JRE(Java Runtime Environment) which is required to run java applications on the computer or JDK as shown below. 1. Open command prompt and enter “java –version”. If installed version number is displayed .
Read moreWhat is JDK home path?
Now home directory for jdk will be: “C:\Program Files\Java\jdk1 .
Read moreHow do I add Java to path in Windows 10?
Setting Java Path in Windows
Read moreHow do I set Java Home path in Windows 10?
How to set JAVA_HOME on Windows 10?
Read moreWhat is JAVA_HOME directory?
JAVA_HOME is an operating system (OS) environment variable which can optionally be set after either the Java Development Kit (JDK) or the Java Runtime Environment (JRE) is installed . The JAVA_HOME environment variable points to the file system location where the JDK or JRE was installed.
Read moreDo I need to add JAVA_HOME to path?
Short answer, YES, you do need to set JAVA_HOME .
Read more