Skip to content

What is the replacement for rt.jar for projects beyond Java 9? #2

@magnus-madsen

Description

@magnus-madsen

It seems that rt.jar has been removed from Java 9 and onwards.

In some of the examples it is used as follows:

inputLocations.add(
        new JavaClassPathAnalysisInputLocation(
                System.getProperty("java.home") + "/lib/rt.jar")); // add rt.jar

What's the replacement? What should one do for e.g. Java version 23?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions