Skip to content

Reduce JabRef release size by not bundling WebKit for both Windows and Linux in all installers #6340

@Sethur

Description

@Sethur

Since JabRef 3.x and JabRef 4.x had release sizes of around 35 to 55 MB while JabRef 5.x now vastly ramped this up to over 330 MB, I did some digging and found that this stems from:

  1. At least for the windows build, there is quite a number of redundant api-ms-win DLLs both on the lowest level and in the main JAR-file. These are small though.
  2. The JRE is now always bundled, there are no packages any more for users who want to stick with the Java version they have installed.
  3. WebKit is bundled once for every OS, no matter the OS the release targets.

I would suggest to get rid of at least the WebKit redundancy. That would already take away some 80 MBs or so.

EDIT: I understand that JabRef 5.x is using the Java Platform Module System (JPMS) now, so developers are supposed to bundle the JDK with their apps, but a runtime directory of >210 MB while the size of the whole JDK 14 is only around 300MB seem suspicious to me.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions