Items such as jconsole are not recognized as the name of a cmdlet, function, script file or executable program or 'jsconsole' is not an internal or external command, an executable program or a batch file.

Enter jconsole in the idea terminal to report an error

 Enter jconsole in the cmd terminal to report an error

 Solution:

1. First change the Shell path of Terminal to C:\WINDOWS\system32\cmd.exe

 2. Check the value of ComSpec in the environment variable

 3. Find the bin address of the jdk downloaded on your computer

4. Add the bin address of jdk to the system variable path 

 Finally, restart idea or open a new terminal and enter jconsole.

Guess you like

Origin blog.csdn.net/m0_72435337/article/details/131139520