Package Details: jabref 5.13-1

Git Clone URL: https://aur.archlinux.org/jabref.git (read-only, click to copy)
Package Base: jabref
Description: Graphical Java application for managing BibTeX and biblatex (.bib) databases
Upstream URL: https://www.jabref.org/
Licenses: MIT
Submitter: Allan
Maintainer: Bevan
Last Packager: Bevan
Votes: 212
Popularity: 1.21
First Submitted: 2012-06-07 22:47 (UTC)
Last Updated: 2024-04-02 16:01 (UTC)

Dependencies (4)

Required by (0)

Sources (6)

Pinned Comments

Bevan commented on 2024-03-28 17:57 (UTC)

Everyone who struggles to update right now: Please install the jdk21-openjdk package. It provides java-environment=21.

Bevan commented on 2022-03-14 20:04 (UTC)

@shmilee: I like that idea. Implemented in 5.5-2 using JABREF_OPTIONS as variable name.

Note that you can then also put that environment variable into your .bashrc, .pam_environment or something similar to be automatically applied.

shmilee commented on 2022-03-12 13:51 (UTC)

How about add an extra JavaOptions variable in launch script /usr/bin/jabref like this?

............
--module-path ${ROOT}/lib \
${JABREF_EXT_Options} \
--patch-module .............

So we can add the -Djdk.gtk.version=2 flag or -Dglass.gtk.uiScale=144dpi flag by cmdline, no need to edit /usr/bin/jabref after upgrade.

JABREF_EXT_Options='-Dglass.gtk.uiScale=144dpi -Djdk.gtk.version=2' jabref

matteodelabre commented on 2020-11-17 14:25 (UTC)

Using JabRef with i3wm, I’m running into the issue described at https://github.com/JabRef/jabref/issues/5867 in which clicking the menu bar sometimes opens then immediately closes the associated menu, rendering it unusable.

I was able to fix this issue by adding the -Djdk.gtk.version=2 flag after line 9 in https://aur.archlinux.org/cgit/aur.git/tree/jabref.sh?h=jabref (as suggested in the related bug report https://bugs.openjdk.java.net/browse/JDK-8251240). This change also removes the “XSetErrorHandler() called with a GDK error trap pushed. Don't do that.” warning mentioned by ruiin in a previous comment.

So far, I have not encountered any adverse side-effect from this workaround.

Latest Comments

1 2 3 4 5 6 .. 21 Next › Last »

Nordwin commented on 2024-04-10 14:22 (UTC)

@Bevan: I do, thank you for pointing me towards that link. That fixes it for me

Bevan commented on 2024-04-05 21:37 (UTC)

@Nordwin: Do you have the environment variable $LD_LIBRARY_PATH set in a custom way? See https://bugs.archlinux.org/task/77183.

Nordwin commented on 2024-04-05 08:07 (UTC)

Even with jdk21-openjdk I cannot start jabref:

Error occurred during initialization of boot layer java.lang.UnsatisfiedLinkError: /usr/lib/jvm/java-21-openjdk/lib/libnio.so: /usr/lib/jvm/java-21-openjdk/lib/libnio.so: undefined symbol: reuseport_available

Rhinoceros commented on 2024-03-29 05:31 (UTC)

Thanks @Bevan. FWIW I tried building with the newer jdk 22, but it failed.

Bevan commented on 2024-03-28 17:57 (UTC)

Everyone who struggles to update right now: Please install the jdk21-openjdk package. It provides java-environment=21.

gothicVI commented on 2024-03-28 15:58 (UTC)

@Rhinoceros @emilbebri well, what's your output of yay -Qs .*java.*?

emilbebri commented on 2024-03-28 10:05 (UTC)

I get the same:

```

installing jdk-openjdk (22.u36-1) breaks dependency 'java-environment=21' required by jabref

```

Rhinoceros commented on 2024-03-28 08:40 (UTC)

Currently this package is blocking all updates on my system because

:: installing jdk-openjdk (22.u36-1) breaks dependency 'java-environment=21' required by jabref

Would this package work with java-environment=22, or is there a java-environment=21 option available?

gothicVI commented on 2024-03-22 15:58 (UTC)

@Bevan THANKS! just did a three way diff of yay -Qs .*java.* between the two systems and a third one that didn't yet attempt the update and low and behold: it's a missing package...

Bevan commented on 2024-03-22 12:27 (UTC)

Sorry, I did not read your comment thoroughly enough. java-openjdk-bin is an AUR package which also got updated to version 22. You should be able to additionally install jdk-openjdk from the official repositories, which is still at version 21. I would assume that being a difference between the two systems.