To add an env variable, start the Start Menu and depending on whether you have set the PL or ENG language [ How to add an environment variable on Windows ] in Windows enter the appropriate phrase: “edit the system …”
In this post I will show you step by step how to change the environment variable on Windows 10 or Windows 11. Basically it doesn’t matter which version you have, the approach is similar.
In the next window, click on the “Environment variables“ button.
We will open a window with environmental variables. The red frame is marked by variables that are defined as the active user, and below in the green frame there are global variables, i.e. those that are visible and active for all users.
We click “New” and a window will appear, where we will enter the name of the new env variable and its value. I created a variable named HADOOP_HOME.
Click OK and our env variable is already visible in the list.
In some cases it will be required to restart the program so that the env variable is read again. It all depends on the logic of the target software for which the given env variable was created. That’s all about How to add an environment variable on Windows!
Could You Please Share This Post? I appreciate It And Thank YOU! :) Have A Nice Day!
YOU MIGHT ALSO LIKE
We are sorry that this post was not useful for you!
Let us improve this post!
Tell us how we can improve this post?