When running a project locally, it prompts that the java command cannot be executed. The
jdk environment variable has already been configured. I executed it in the cmd environment again java -version
, but I really couldn’t find the corresponding java execution file.
I checked the java.exe corresponding to the C drive. The file is a shortcut link, and its corresponding target address java_home
is inconsistent with the path I configured. Delete the shortcut and it will be ok
failed to run command ‘java‘ : No such file or directory
Guess you like
Origin blog.csdn.net/qq_35448165/article/details/129713861
Recommended
Ranking