Sealing jar files in IntelliJ
-
30-03-2021 - |
Question
How can be jar files sealed using IntelliJ idea?
I believe it is made with jar cmf command, but how can it be achieved in IntelliJ?
Solution
It is jar cmf
. By using m
you can pass a Manifest file. To seal a jar your manifest file have to contain the line Sealed: true
. See Sealing Packages within a JAR File for details. Have a look at this blog to see how to create a jar with custom manifest in IntelliJ.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow