'How to reduce the JPackage size?

I am using JPackage to create installer to my javafx application.

I am using lot of lib in my project.

If I create JPackage the size of installer is 100 MB.

How can I reduce the size of my installer package ?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source