You might have installed JAVA on your PC and struggling to add the JAVA path to System Path so that all Java Tools and Command Prompt can identify your JAVA libraries, Compile and Run Programs as expected.
Here is simple way.
Open System Properties by right clicking on white space in My Computer.
Click on Advanced System Settings .
Select the 'PATH' variable and click Edit. Do not delete any thing. Go to the line end by typing 'END' key of Keyboard. Add a SEMI COLON ( ;) and copy paste the Java Bin path. Click OK.
Restart the PC to see the changes to System Global Variables.
That's it. You have successfully added Java Path to System Variables.
To test whether changes are done or not, open a command prompt window and type java or javac and press Enter Key. If it says, command not recognised, then the java path is not copy pasted properly. So repeat the process.
Here is simple way.
Open System Properties by right clicking on white space in My Computer.
Click on Environment Variables
Select the 'PATH' variable and click Edit. Do not delete any thing. Go to the line end by typing 'END' key of Keyboard. Add a SEMI COLON ( ;) and copy paste the Java Bin path. Click OK.
Restart the PC to see the changes to System Global Variables.
That's it. You have successfully added Java Path to System Variables.
To test whether changes are done or not, open a command prompt window and type java or javac and press Enter Key. If it says, command not recognised, then the java path is not copy pasted properly. So repeat the process.





No comments:
Post a Comment