Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

solving tools.jar dependency while migrating to JRE 11 #506

Open
kannankalli opened this issue Jan 15, 2024 · 1 comment
Open

solving tools.jar dependency while migrating to JRE 11 #506

kannankalli opened this issue Jan 15, 2024 · 1 comment
Assignees
Labels

Comments

@kannankalli
Copy link

HI,
We are migrating our application to JRE 11 from JRE 8. we are using 3.23.5 version of chronicle map. Application is shutting down while starting. Below is the error

Exception in thread "main" java.lang.AssertionError: java.lang.ClassNotFoundException: com.sun.tools.javac.api.JavacTool
at net.openhft.compiler.CompilerUtils.reset(CompilerUtils.java:64)

Based on my understanding, tools.jar is not present any more in jre 11. But chorincle map depends on JAvacTool which is from tools.jar. How should we mitigate this problem ?
Should i add tools.jar as part of the classpath in JRE 11 ( copied from JRE 8 ) ?

@tgd tgd added the review label Jun 3, 2024
@yevgenp
Copy link
Contributor

yevgenp commented Jun 18, 2024

Hi @kannankalli.
Could you provide a minimal reproducing example?

@yevgenp yevgenp self-assigned this Jun 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants