question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Boot Hint does not work with Java JDK 9.0.1

See original GitHub issue

Error 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:closed
  • Created 6 years ago
  • Comments:13 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
moyodiallocommented, Jan 24, 2018

I think , you can fixe it like this: copy all files in java-1.8.0-openjdk-amd64/lib to java-1.8.0-openjdk-amd64/jre/lib

0reactions
martinlippertcommented, Jan 30, 2018

we 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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found