Skip to content
Advertisement

Do I need to restart my system after setting JAVA in system environment’s path variable?

I did the following steps but java does not seem to be working for me, do I need to restart my system if yes then why?

JavaScript

i am getting below error while running java in cmd

JavaScript

Advertisement

Answer

No, but you will need to close and recreate any cmd windows, running java programs, or the like.

To check it’s correct, open a new cmd window and type set -> review the information for PATH and JAVA_HOME.

User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement