How do I change the default path for java?

How do I change the default path for java?
Answer
Set the JAVA_HOME Variable
  1. Locate your Java installation directory. …
  2. Do one of the following: …
  3. Click the Environment Variables button.
  4. Under System Variables, click New.
  5. In the Variable Name field, enter either: …
  6. In the Variable Value field, enter your JDK or JRE installation path . …
  7. Click OK and Apply Changes as prompted.
 

Tìm kiếm

Back
Top