Executable fails to launch on windows while .jar works fine JabRef4.0 and 4.1

(jmmelko) #1


I have uninstalled Jabref 3.8.2, and installed 4.0, under Windows 7 Pro 64 bits, with an administrator account.

The JabRef.exe file runs but nothing shows up even after several minutes.

However, when opening the .jar with Java from the command line, JabRef launches normally. Well, almost since I have the following warnings:

D:\admin>java -jar "C:\Program Files\JabRef\JabRef-4.0.jar"
nov. 10, 2017 2:41:45 PM java.util.prefs.WindowsPreferences
AVERTISSEMENT: Could not open/create prefs root node Software\JavaSoft\Prefs at
root 0x80000002. Windows RegCreateKeyEx(…) returned error code 5.
File: grouptree.fxml not found, attempting with camel case
File: grouptree.css not found, attempting with camel case

Then, after killing the .exe, if I reset settings to default using :
java -jar “C:\Program Files\JabRef\JabRef-4.0.jar” -d all

the first warning from the command line disappears.

However, it doesn’t help the Jabref.exe to work. Process is running using 137 780 K of memory but no window shows up.

Same happens with 4.1.
I have Java 8.0 release 151.

I have searched the Event Viewer of Windows (Administrative Tools) and saw nor error.

Thank you for your help.

(Christoph) #2


you encountered a known java problem: (While the problem is coming from a different app, the solution is the same)

(jmmelko) #3


Yes I know, but even after solving this error (by resetting the parameters ; the manual creation of the Prefs key did not work alone), the executables refuses to work properly.