just type javac command, this time, you will see different output which shows various details of java command rather than getting an earlier error.Many Java based programs like Tomcat require JAVA_HOME to be set as environment variable to work correctly.
However, to support multiple versions you must update your Windows PATH.
to my Windows PATH variable so that it was the first search directory.
Join us in person, in October, for the annual Jamf Nation User Conference (JNUC) to discover new and better ways to manage Apple devices.
Before installing the JSS on Windows, it is recommended that you verify that the JAVA_HOME and JRE_HOME environment variables are pointed at the correct locations.
This tutorial assumes that you know how to download and Install JDK in Windows 8 machine.