Open a Command Prompt window (Win⊞ + R, type cmd, hit Enter). Enter the command echo %JAVA_HOME% . This should output the path to your Java installation folder. If it doesn’t, your JAVA_HOME variable was not set correctly.
Read moreWhat is the path of java?
Technically in terms of Java, Path is an interface which is introduced in Java NIO file package during Java version 7,and is the representation of location in particular file system .As path interface is in Java NIO package so it get its qualified name as java.
Read more