简体   繁体   English

VS代码终端问题

[英]Vs code terminal issue

When I tried to run java code in visual studio code, the terminal is throwing an error当我尝试在 Visual Studio 代码中运行 java 代码时,终端抛出错误

PowerShell terminated with exit code:4294901760 PowerShell 以退出代码终止:4294901760

I have searched all queries but nothing is relatable.我已经搜索了所有查询,但没有任何相关信息。

You need to install java in VS-Code.您需要在 VS-Code 中安装 java。 To do so you can just search "java" in the extensions search bar.为此,您只需在扩展搜索栏中搜索“java”。 after that you will see an extension called "Java Extension Pack", install it and then you issue will hopefully be fixed之后,您将看到一个名为“Java Extension Pack”的扩展,安装它,然后您的问题有望得到修复

Thank you, I tried this, actual issue was windows power shell, unchecked run engine of powershell from windows features -->programs-->control panel. Thank you, I tried this, actual issue was windows power shell, unchecked run engine of powershell from windows features -->programs-->control panel. Then restarted the pc after then my powershell opened and same worked.然后重新启动电脑,然后我的 powershell 打开并且同样工作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM