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

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

Open
magnus-madsen opened this issue Oct 1, 2024 · 0 comments
Open

Comments

@magnus-madsen
Copy link

magnus-madsen commented Oct 1, 2024

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?

@magnus-madsen magnus-madsen changed the title What's the replace for rt.jar for project beyond Java 9 What's the replacement for rt.jar for project beyond Java 9 Oct 1, 2024
@magnus-madsen magnus-madsen changed the title What's the replacement for rt.jar for project beyond Java 9 What is the replacement for rt.jar for projects beyond Java 9? Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant