InterviewSolution
Saved Bookmarks
| 1. |
How to set JDK path in Java |
|
Answer» GO to “Start” and type “Environment Variables”. Then you will reach a window “”. System Properties Now, click on “Environment Variables”: Now click on “Path” in the user variables drop down list. Click on “New” and ENTER the following path. We are setting path here for Java 11: C:\PROGRAM Files\Java\jdk-11.0.1\binAfter adding the path above, click “OK”. Click “OK” again. Click “OK”. For verification, go to command prompt (cmd) and type: java -versionThe above shows that we have successfully set the path. |
|