Guide: JavaFX and JRE Stripping
Please Note: this guide assumes you have looked through:
By default JWrapper will strip non-essential files allowed by the standard JRE license terms out of your JRE to save space. In some cases though this can cause problems.
If you are using JavaFX for example then files required by JavaFX will be stripped out and your app may fail to run.
If your app uses more than just the core JRE then you can specify the following tag in your JWrapper XML to tell JWrapper to leave JREs intact. This will increase the size of the final generated bundles but you can then modify your source JREs to remove any files you don't need to keep the size of the final build down to a minimum.
<NoStripJREs>true</NoStripJREs>
Important: once you have made this change you will need to delete the JRE packages from your build folder as this will indicate to JWrapper that it needs to rebuild them.
By default JWrapper will strip non-essential files allowed by the standard JRE license terms out of your JRE to save space. In some cases though this can cause problems.
If you are using JavaFX for example then files required by JavaFX will be stripped out and your app may fail to run.
If your app uses more than just the core JRE then you can specify the following tag in your JWrapper XML to tell JWrapper to leave JREs intact. This will increase the size of the final generated bundles but you can then modify your source JREs to remove any files you don't need to keep the size of the final build down to a minimum.
<NoStripJREs>true</NoStripJREs>
Important: once you have made this change you will need to delete the JRE packages from your build folder as this will indicate to JWrapper that it needs to rebuild them.