[英]Installed Java on Windows 10, Environment Variable Path Setup, throwing error
I have installed Java on a Windows 10 system.我已经在 Windows 10 系统上安装了 Java。
java --version
works fine as it can show the Java version. java --version
工作正常,因为它可以显示 Java 版本。
However, when running anything Java-related, the following error is thrown:但是,在运行任何与 Java 相关的内容时,会引发以下错误:
error: could not find java in JAVA_HOME or bundle at C:\Program Files\Java\jdk-14.0.1\bin/bin/java
错误:在 JAVA_HOME 中找不到 java 或捆绑在 C:\Program Files\Java\jdk-14.0.1\bin/bin/java
I am not sure what is wrong with the configurations.我不确定配置有什么问题。
Below are the attached screenshots:以下是随附的屏幕截图:
Try without the Bin.尝试不使用 Bin。 Then it should work!
然后它应该工作!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.