Prettytime does not have a module-info.java (-> Java jigsaw project). So there is no way to use jlink to create a custom java runtime image.
jlink fails with "Error: automatic module cannot be used with jlink: prettytime from [...]/.m2/repository/org/ocpsoft/prettytime/prettytime/5.0.7.Final/prettytime-5.0.7.Final.jar"
For example, two projects that work with jlink: https://github.com/google/gson and https://github.com/remkop/picocli
Prettytime does not have a
module-info.java(-> Java jigsaw project). So there is no way to usejlinkto create a custom java runtime image.jlinkfails with "Error: automatic module cannot be used with jlink: prettytime from [...]/.m2/repository/org/ocpsoft/prettytime/prettytime/5.0.7.Final/prettytime-5.0.7.Final.jar"For example, two projects that work with
jlink: https://github.com/google/gson and https://github.com/remkop/picocli