Jdeps and Quarkus
#30752
Replies: 1 comment 1 reply
-
And the jdk.zipfs module for some reason was not defined by any of the methods. Although it is needed, without it it crashes at startup |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to use Jlink and Jdeps to reduce the size of the docker image. And I faced an unpleasant feature.
If I build an application using gradle in fast-jar, I get the following when calling the jdeps command
If I build the same application using uber-jar, I'll get the following command output
jdeps --multi-release 17 --ignore-missing-deps --recursive --print-module-deps build/*.jar java.base,java.desktop,java.management,java.naming,java.rmi,java.security.jgss,java.security.sasl,java.sql,jdk.compiler,jdk.unsupported
As you can see, there are many more modules and I can't understand what I'm missing. And the second conclusion is correct, but the first one is not, since my application crashes at startup when using the first option.
Beta Was this translation helpful? Give feedback.
All reactions