In this tutorial, we will learn to set environment variables e.g.
JAVA_HOME when you don’t have admin access to your development machine. This is very common scenario in companies with high security requirements like banks ( like mine 🙂 ).
Open “User Accounts” Option
You can locate this option by searching ‘
accounts‘ or ‘
user accounts‘ in window’s search option.
Click on “
User Accounts” option.
Select option “Change my environment variables”
Once you are inside user accounts view, select option ‘
Change my environment variables‘ and it will present you a window for adding/removing environment variables for your account.
Win + Wand search ‘environment’. One option you are presented will be “Edit environment variables for your account”. Use this option to add/change/remove environment variables for your account.
Happy Learning !!