Java版本检查命令提示符
我正在使用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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您应该仔细检查是否正确设置了路径变量。它应该指向“ 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'.