How do you check if Java_home is set correctly in Windows?

How do you check if Java_home is set correctly in Windows?
Answer
Check if JAVA_HOME is already set ,
  1. Open Command Prompt.
  2. Execute : SET JAVA_HOME.
  3. If output is JAVA_HOME=path, then your JAVA_HOME is set , make sure the path is correct.
  4. If output is “Environment Variable JAVA_HOME not defined” , then execute following steps.
 

Tìm kiếm

Back
Top