How to extract the minimum Weasis portable's JRE

3 views
Skip to first unread message

tatsuaki

unread,
Jan 28, 2026, 9:24:05 PM (2 days ago) Jan 28
to dcm4che
Hi, Mr.Nicolas

I would like to use the portable version of Weasis to share DICOM datasets via CD-R. I have created a custom JRE using the jlink command, but it still seems too large (about 60–80 MB).

```
jlink  --add-modules java.base,java.desktop,java.logging,java.management,jdk.unsupported,java.naming,java.xml,java.prefs,java.scripting,java.sql,java.rmi,java.datatransfer,java.instrument,jdk.crypto.ec,jdk.accessibility --bind-services --include-locales=en,ja --strip-debug --no-man-pages --no-header-files --compress=2 --output weasis-jre-optimized
```

Could you tell me how to extract the minimum JRE required to run Weasis-portable? Also, is a 60–80 MB JRE size typical for this kind of setup?

Tatsuaki

Reply all
Reply to author
Forward
0 new messages