You need to set your PATH environment variable so the JVM and Java applications run correctly. This is extremely important for the success of your installation because the PATH variable enables your operating system to find the appropriate programs from any directory. If you have more than one JVM installed, the JVM you want to use must appear before any of the others in the PATH variable.
To check the PATH environment variable: