Hi. I updated the snap for jabref (bibliographical reference manager).
It’s a java program built with gradle.
It builds and runs properly in devmode.
If I run with strict confinement it can’t read the java.utils.prefs paths (for system and user preferences), and the jvm locks up.
I tried to override the paths with JAVA_OPTS, but it makes no difference. The program still looks for the files in my home folder.
Is there something else I should do with a java build?
The yaml is here: https://github.com/JabRef/jabref/blob/b3f35ec19a2f9383feab1b3faf97109214bdc780/snap/snapcraft.yaml