Downloading Java - Should I Change my Path to the Java Bin

H.A :

This would seem very stupid, but is it necessary to attach the java bin address to Path in the environmental variables?

I also already have an environmental variable called Path - and its value is C:\Users\core\AppData\Local\Microsoft\WindowsApps - I don't know what this variable does, but I've read this Stack overflow question and realized that handling these should be done with care. Do I need to change the value of Path to my java bin address C:\Program Files\Java\jdk-11.0.2 or will this not be necessary if I use an IDE?

Any help would be truly appreciated. Thank you.


iamrajshah :

System environment variables are global to all users, while users environment variables are specific only to the currently logged in user.
From your question it is clear that you are using Windows OS.
You will need to update the JAVA_HOME OR whatever name you have given to variable and it will automatically change the PATH variable.
Note : I hope you have added JAVA_HOME to PATH.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=153169&siteId=1