Boot Hint does not work with Java JDK 9.0.1
See original GitHub issueError on start up:
JAVA_HOME environment variable points either to JRE or JDK missing "lib/tools.jar" hence Boot Hints are unavailable
Boot Hint works if I copy “lib/tools.jar” from older java jdk version to jdk-9.0.1/ folder.
Issue Analytics
- State:
- Created 6 years ago
- Comments:13 (3 by maintainers)
Top Results From Across the Web
Java Platform, Standard Edition Oracle JDK 9 Migration Guide
The purpose of this guide is to help you identify potential issues and give you suggestions on how to proceed as you migrate...
Read more >Unable to run maven install from Idea for Java 9 (tools.jar not ...
In case anyone has similar problem, I was able to fix it by doing the following steps: ... :: Locate a JDK installation...
Read more >Selecting the JDK version the IDE will run under
Open the Choose Boot Java Runtime for the IDE dialog as described above; Click the Use Default Runtime button; Restart the IDE. If...
Read more >JDK Releases - Java
Date Type Version Other Information
2024‑10‑15 CPU 23.0.1, 21.0.5, 17.0.13, 11.0.25, 8u431
2024‑09‑17 Feature 23
2024‑07‑16 CPU 22.0.2, 21.0.4, 17.0.12, 11.0.24, 8u421
Read more >Which Java SDK Should You Use? - Okta Developer
Are you confused about the Java SDK (aka JDK) options available to ... use Java 11 when working on Spring Boot 2.1 projects,...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I think , you can fixe it like this: copy all files in
java-1.8.0-openjdk-amd64/libtojava-1.8.0-openjdk-amd64/jre/libwe improved the way the tools.jar is being found in the next milestone update release (M8), therefore I am going to close this issue here.
The slowness when running on JDK9 that got mentioned in a few comments got moved to its own issue here: https://github.com/spring-projects/sts4/issues/36