Closed
Description
JabRef version
5.5 (latest release)
Operating system
GNU / Linux
Details on version and operating system
Ubuntu 21.10 x86_64 with GNOME 40.5
Checked with the latest development build
- I made a backup of my libraries before testing the latest development version.
- I have tested the latest development version and the problem persists
Steps to reproduce the behaviour
- Use previous versions of JabRef, and decide to implement XDG Base Directory standard specs
- Having set
export_JAVA_OPTIONS
variable to use XDG Base Directory specification:export _JAVA_OPTIONS=-Djava.util.prefs.userRoot="$XDG_CONFIG_HOME"/java
- (probably restart your session, or reboot)
- Move
~/.java
to$XDG_CONFIG_HOME/java
- Install JabRef
- Launch JabRef (this is where
~/.java
gets created again)
Appendix
On a positive note
$XDG_DATA_HOME
is properly followed, as can be seen from the logs when creating the index.
Fix SSL exceptions by accepting ALL certificates
Could not access app-directory at /home/rolandog/.local/share/JabRef
java.nio.file.NoSuchFileException: /home/rolandog/.local/share/JabRef
at java.base/sun.nio.fs.UnixException.translateToIOException(Unknown Source)
at java.base/sun.nio.fs.UnixException.rethrowAsIOException(Unknown Source)
at java.base/sun.nio.fs.UnixException.rethrowAsIOException(Unknown Source)
at java.base/sun.nio.fs.UnixFileSystemProvider.newDirectoryStream(Unknown Source)
at java.base/java.nio.file.Files.newDirectoryStream(Unknown Source)
at org.jabref@5.6.47/org.jabref.gui.JabRefMain.clearOldSearchIndices(Unknown Source)
at org.jabref@5.6.47/org.jabref.gui.JabRefMain.start(Unknown Source)
at org.jabref.merged.module@5.6.47/com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$9(Unknown Source)
at org.jabref.merged.module@5.6.47/com.sun.javafx.application.PlatformImpl.lambda$runAndWait$12(Unknown Source)
at org.jabref.merged.module@5.6.47/com.sun.javafx.application.PlatformImpl.lambda$runLater$10(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Unknown Source)
at org.jabref.merged.module@5.6.47/com.sun.javafx.application.PlatformImpl.lambda$runLater$11(Unknown Source)
at org.jabref.merged.module@5.6.47/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(Unknown Source)
at org.jabref.merged.module@5.6.47/com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
at org.jabref.merged.module@5.6.47/com.sun.glass.ui.gtk.GtkApplication.lambda$runLoop$11(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
...
Index path for /home/rolandog/Documents/references/rg-references.bib is /home/rolandog/.local/share/JabRef/0.5a
Index path for /home/rolandog/Documents/references/rg-references.bib is /home/rolandog/.local/share/JabRef/0.5a