[英]Terminal command does not work in PhpStorm
When I try to use the command java
in the PHPStrom Terminal. 当我尝试在PHPStrom Terminal中使用命令
java
时。 I got this error : 我收到此错误:
'java' is not recognized as an internal or external command
无法将“ java”识别为内部或外部命令
But I checked I added in PATH the environment variable and it works perfectly on a terminal outside PhpStorm. 但是我检查了是否在PATH中添加了环境变量,并且该变量在PhpStorm外部的终端上运行良好。
Why ? 为什么呢
You need to restart the Jetbrains Toolbox to update these commands in terminals. 您需要重新启动Jetbrains工具箱以更新终端中的这些命令。
And all commands work in the Phpstorm terminal. 并且所有命令都可以在Phpstorm终端中使用。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.