更新时间:2023-01-14 23:32:57
Windows和Unix都使用 PATH
环境变量查找程序。您的 Windows \ System32
中有一个 java.exe
,它出现在您的首选Java版本之前。
Windows and Unix both find programs using their PATH
environment variable. You have an java.exe
in your Windows\System32
which is appearing before your "preferred" version of Java.
将PATH更改为您需要的路径,或在需要其他版本时指定完整路径。
Change the PATH to be the one you need, or specify the full path when you need a different version.