I have installed Java on a Windows 10 system.
java --version
works fine as it can show the Java version.
However, when running anything Java-related, the following error is thrown:
error: could not find java in JAVA_HOME or bundle at 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. Then it should work!
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.