Windows search path for the JDK

Step 1: Determine whether to install JDK

In the console input:

java -version

Output:
Here Insert Picture Description
At this point the computer that you installed the JDK.

Step Two: Find route

Then type in console:

java -verbose

Output:
Here Insert Picture Description
from the final jre directory to find the corresponding jdk directory.

If you can not find the second step corresponding jdk directory, there is a way to quickly find the corresponding jdk directory, that is the first step in the implementation of the outcome of the command output, theJDK path has been added to the system environment variablesIn between we can look to the system environment variable.

Published 100 original articles · won praise 45 · views 640 000 +

Guess you like

Origin blog.csdn.net/wangzhongshun/article/details/104818785