This tutorial will explain how to set java path variables and checking java version installed on your machines. This is detailed explanation on how to set java variables on windows 10 which is useful for compiling and running java programs using command prompt.