Java版本检查命令提示符

发布于 2025-01-24 13:14:06 字数 117 浏览 2 评论 0原文

我正在使用32位Windows 7 OS,并且已经安装了JDK 8,因为它是32位系统的JDK版本。我还为环境变量提供了路径。但是,当我试图在命令提示符中检查Java版本的Java -version时,我会遇到致命错误。

I am using a 32 bit windows 7 OS and I have installed JDK 8 as it was the only available JDK version for a 32 bit system. I have also given the path in the environment variables. But, when I am trying to check the java version in the command prompt typing java --version, I am getting a fatal error.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

绝不服输 2025-01-31 13:14:06

您应该仔细检查是否正确设置了路径变量。它应该指向“ java.exe”所在的... \ bin \目录。因为那就是用“ java -version”所谓的。

You should double check if your path variable is set correctly. It should point to the ...\bin\ directory where the 'java.exe' is located. Because thats whats called with 'java --version'.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文