Environment Variables - System and User specific - Add , Edit and Delete

Environment Variable - Simple 7 Steps to Add Java to Environment Variable in Windows 10


Environment Variables - System and User specific - Add , Edit and Delete


User Specific variables - Once set will be used only for the user, it is set.

System Variables - Once set will be applicable for all the users configured in that systems.

Step 1 - Open Environment Variable window

Method 1  - Press Windows button / click Start button and type "Environment" and select/click "Edit environment variables for your account" menu in the list.



Environment Variables window will displayed



Method 2 - Right click on My Computer/This PC in desktop and click on Properties



Click on "Advanced system settings"




Click on "Environment Variables " button 



Environment Variables window will be displayed



Step 2  -  Go to the location where Java is installed in your system and  copy path till bin like below

Usually - C:\Program Files\Java\jdk1.8.0_261\bin


Step 3 - Select Path variable and select Edit button in environment variables window



Step 4 - Click on New button



Step 5 - Paste the Path copied in blue textbox and click OK button.

C:\Program Files\Java\jdk1.8.0_261\bin



Step 6 - Verify if Java is added, by checking Java version in windows command prompt




Step 7 - To Delete , Just open the Path and select variable to delete and click on Delete button



0 comments: