Owing to certain external factors out of my control, I need to change the JRE that is bundled with our app (purely for running the Aspose converters) from Oracle’s Java 7 to OpenJDK 10 or 11. With Java 7, I could follow Oracle’s advice on “Optional files and directory” to reduce the size of the JRE bundled with our app. With the most recent versions of the JDK, this is not possible. Instead, it seems that you need to use jlink to reduce the number of modules included and thus reduce the file size.
I would like only to include the Java files necessary for running Aspose.Words. A process of trial and error seems to show that the only modules Aspose.Words requires are java.base and java.desktop. Conversions to Word format still seem to work fine when I only include these, whereas if I omit java.desktop Aspose.Words will not run.
Could you please confirm that these are indeed the only modules I need to include? Is this documented somewhere?