Skip to content

[question] Is it possible to configure the plugin so that it will work with both JDK 8 and 11/17/...? #355

Open
@rhoehener

Description

@rhoehener

We're in the process of migrating projects from Java 8 to 11/17. For now, the target compilation level will remain 8 but I am already testing the build with JDK 17.

I learned that I have to change

<libs>
  <lib>${java.home}/lib/rt.jar</lib>
  <lib>${java.home}/lib/jsse.jar</lib>
  <lib>${java.home}/lib/jce.jar</lib>
</libs>

to

<libs>
  <lib>${java.home}/jmods</lib>
</libs>

Is there a Java version agnostic configuration syntax or some other way to tell the plugin to just use whatever is in java.home?

(I am also missing configuration examples for modern Java versions in the documentation)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions