How to create PATH and JAVA_HOME environment variables from command prompt (cmd) Nectar Websoft 08:37 Java Nectar Websoft >setx JAVA_HOME "C:\Program Files\Java\jdk1.8.0" >setx PATH "%PATH%;%JAVA_HOME%\bin"; Author : Nectar Websoft Share this Related Posts