Using JabRef under Windows 11 with AppLocker fails

Hello,

I have a technical question

We are having problems using JabRef on Windows 11 with AppLocker enabled. JabRef is generating two dll files in the User \Temp directory. The Names are ‘jna+randomNumber.dll’ and ‘jna+randomNumber.dll.x’. The AppLocker refuses to load the ‘jna+randomNumber.dll.x’.
I know (or have learnt) that JabRef comes with its own preconfigured Java instance.

Now my question(s):

1. Is there a way to not create the two dlls and still start JabRef?

2. Can the functionality with the random number in the dll name be changed to use a fixed dll name?

I would be very grateful for any hints.

Stephan

P:S.: I develop programmes myself, but have no contact with Java so far. The fact of creating dlls at runtime with random numbers in the name is new to me. Surely there is an explanation for this(?). Is this a requirement of the Java Runtime?

Hi,

Unfortunately, we cannot really control this from our side, but I found some hint on stackoverflow that you can pass some special options to disable this unpacking to temp or to whitelist the stuff:

For JabRef you would need to modify the JabRef.cfg that is in the older and add a new entry to the java options:
The cfg can be also placed in some special directory

Hi Christoph,

thanks for the reply and the hints. I managed to change the folder of the dll files, but the AppLocker still blocks it. So this would not be enough.
I will pass the information concerning the AppLocker configuration to our Admin. Hopefully he will whitelist it.