Simple method to setup permanent path in java and setting Environment Variable Step by step Description: 1. Setting Temporary Java Path: To set temporary java path: Open command prompt Copy the path of jdk/bin directory Write in command prompt:SET PATH=copied_path 2.Setting Permanent Java Path: Go to MyPC properties Click on Advanced system settings Click on Environment Variables Click on New tab of User variables Assign value path to Variable name Copy the path of java/bin folder Paste path of bin folder in Variable value Click on OK button Click on OK button permanent path is set in your Computer