To set the temporary path of JDK, you need to follow the following steps: Open the command prompt Copy the path of the JDK/bin directory Write in command prompt: set path=copied_path For Example: set path=C:Program FilesJavajdk1.6.0_23in