Skip to content

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

Open
@kannankalli

Description

@kannankalli

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 ) ?

Activity

yevgenp

yevgenp commented on Jun 18, 2024

@yevgenp
Contributor

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

self-assigned this
on Jun 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @tgd@yevgenp@kannankalli

      Issue actions

        solving tools.jar dependency while migrating to JRE 11 · Issue #506 · OpenHFT/Chronicle-Map