Phan Văn Khánh
New member
How do I change the default path for java?
Answer
Set the JAVA_HOME Variable
Answer
Set the JAVA_HOME Variable
- Locate your Java installation directory. …
- Do one of the following: …
- Click the Environment Variables button.
- Under System Variables, click New.
- In the Variable Name field, enter either: …
- In the Variable Value field, enter your JDK or JRE installation path . …
- Click OK and Apply Changes as prompted.