Error: cannot determine path to ‘tools. Jar’ library for 17 solution
The error shown above occurs when running a java project. The essence is that the current idea version does not support Java 17.
Solution:
1. Download the JDK supported by the current idea version, such as 14
2. Uninstall the current version of idea and download the latest version of idea
I choose 2.
go to the official website of idea to download the latest version of idea
running the project again succeeds
Read More:
- How to Solve IntelliJ IDEA Error: Cannot determine path to ‘tools.jar‘ library for 17 (C:\Program Files\Java\jd…
- [Solved] IDEA springboot Startup Error: java.lang.UnsatisfiedLinkError: no tcnative-1 in java.library.path
- Failed to scan osdt_cert.jar & osdt_core.jar [How to Solve]
- Reason: failed to determine a suitable driver class [Solved]
- [Solved] Android Could not determine artifacts for XXXX: Skipped due to earlier error
- Monitoring session to determine whether the user is online or not
- JAVA: How to use the third-party font library method (using the third-party TTF / TTC font library method)
- error:unable to access jarfile cracker2017.jar [How to Solve]
- Maven error: Could not find artifact jdk.tools [How to Solve]
- Springboot Project: How to Introduces Local Jar Package
- [Solved] M1 Chip MacBook Pro Error: snappy-java FAILED_TO_LOAD_NATIVE_LIBRARY
- Tomcat Run Error: Can‘t find catalina.jar [How to Solve]
- [Solved] jar file Execute Error: power shell error: unable to access jarfile
- Solve the problem that some jar packages failed to download when Maven was packaged
- OTA Pack Compile Error: ExternalError: Failed to run signapk.jar: return code 1:Error: A JNI error has occurred
- [Solved] Springboot Package jar and Startup Error: It was loaded from the following location
- [Solved] jar Run Error: no main manifest attribute
- How to Solve JAR pack error: Error resolving template [/userInfo], template might not exist or might not be accessib
- [Solved] Error launching IDEA: Failed to create JVM. JVM Path…
- [Solved] Java XXX: unable to find topic engine in module path