I suggest to prepare a tool jabref-tester.jar which just tests and reports, if the environment is fine for Jabref-4.x
Reason:
The tool could print something like
Jabreftester version 4.123 compiled 2017-08-07
Environment test from 2017-08-09 12:30
JDK: FAILED Required 8.x found 9.1234
OpenFX: PASSED Required 1.8x found 1.82
Since all of the dev team is solely focused on fixing bugs right now, I see little chance of this happening unfortunately. But such a tool would be a good idea.
@jonasstein Given your knowledge on the required setup, could you step in and write this tool?
Unfortunately, I can not develop this, but I volunteer to test it on different machines. I am finding out the requirements on the hard way at the moment. If there is an up to date dependency list, can we link it here?
I saw on the stderr, that Jabref expects a newer FX library than available on the latest *buntu and Mint distributions. I think this should be one of the early features of this tool, because it affects many (nearly all Linux) users.
Is there an indication for a concrete least version? This would help at
debian packaging (https://github.com/koppor/jabref/issues/135) and refining
our installation guide: http://help.jabref.org/en/Installation
Maybe, the solution is to use snaps:
https://github.com/JabRef/jabref/pull/2345
Maybe, someone else takes care of a flatpack -
http://www.makeuseof.com/tag/snaps-vs-flatpaks-whats-difference/
Am 03.08.2017 5:55 nachm. schrieb "Jonas Stein" notifications@github.com:
Unfortunately, I can not develop this, but I volunteer to test it on
different machines. I am finding out the requirements on the hard way at
the moment. If there is an up to date dependency list, can we link it here?
I saw on the stderr, that Jabref expects a newer FX library than
available on the latest *buntu and Mint distributions. I think this should
be one of the early features of this tool, because it affects many (nearly
all Linux) users.—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/JabRef/jabref/issues/3073#issuecomment-320011921, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABTafp2nkflDiSW1UgEyyOHQD-XjX15Gks5sUe2BgaJpZM4Osji1
.
I think it would be easiest to write a shell script to test for java version and the openjfx version:
https://stackoverflow.com/questions/23263826/how-to-find-out-javafx-version
AFAIK the problem only exists with linux, as the windows installer installs the libs in the right folder I suggest. For linux all libs have to be on the classpath. See my workaround I describe ed in the other issue
For linux: Why don't we use install4j to create linux versions as well?
I second the suggestion that instead of a tool that checks all the requirements an installer that actually installs these required packages is preferable.
An installer would probably ignore the package management of the distribution. Many installer are blackboxes, nobody knows what they do. I would prefer a solution which distributions can use.
A script can be used even before the compilation or installation. A bash script sounds fine, but note that packages are named differently on distributions. Can't Java just run with try-exception some tests and report?
Well, Java can't do that out-of-the-box, at least not that I know. A Java version of such a tool would be no more than a bash script in Java syntax and packaged as a jar. We would still have to check the current OS and know the names of the packages for every distro.
Most helpful comment
I second the suggestion that instead of a tool that checks all the requirements an installer that actually installs these required packages is preferable.