Environment Variables are set to allow access to command line tools and to enable other tools to interact with SDKs more easily. For example, with Java on Windows, if the Environment Variable not set on the PATH, running javac is much more cumbersome because you need to type in the full path to the command each time. So Lets make our work easy by Setting Environment Variable. Setting Environment Variable is simple it just requires five steps.
go to my computer.
Open C Drive.
Open Programs Files
click on Java folder
click on jre folder.
copy the path.
go to Control Panel.

click on System Icon
click on Advances System Settings.
click on Environment Variable button.
click on Edit.
past the path.
subscribe












