Using the jps command prompt under the cmd interface of windows: 'jps' is not an internal or external command, nor is it an operable program or batch file

Use jps prompt: 'jps' is not an internal or external command, nor is it an operable program or batch file, but it is normal when using java -version

Solution :

  • It is suspected that there is something missing in the environment variable configuration, as expected, the path configuration of jdk and jre is missing, so it is added
    insert image description here
  • Then use the jps command again, it is normal
    insert image description here

Guess you like

Origin blog.csdn.net/qq_40436854/article/details/129469473