To enable packaging JabRef 4.x for Debian, much work has to be done in packaging the build dependencies. See https://github.com/koppor/jabref/issues/135 for a TODO list. Any help is welcomed there.