@Bevan: I used (2) java-openjdk-bin, and Jabref has installed and works. At least, it starts and opens my files.
Search Criteria
Package Details: jabref 5.15-5
Package Actions
| 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: | 217 |
| Popularity: | 0.34 |
| First Submitted: | 2012-06-07 22:47 (UTC) |
| Last Updated: | 2026-02-03 22:03 (UTC) |
Dependencies (4)
- archlinux-java-runAUR
- java-environment (jdk12AUR, jdk10AUR, jdk10-openj9-binAUR, jdk7AUR, jdk8-graalvm-binAUR, jdk16-graalvm-binAUR, jdk16-adoptopenjdkAUR, liberica-jre-11-binAUR, jdk11-j9-binAUR, jdk16-openjdkAUR, jdk14-openjdkAUR, jdk18-openjdkAUR, jdk19-graalvm-binAUR, liberica-jre-11-full-binAUR, jdk19-graalvm-ee-binAUR, liberica-jre-8-full-binAUR, jdk11-graalvm-binAUR, jdk-openj9AUR, jdk12-openjdkAUR, jdk11-dragonwell-standard-binAUR, jdk11-jetbrains-binAUR, jdk20-graalvm-binAUR, jdk17-graalvm-binAUR, jdk20-openj9-binAUR, zulu-13-binAUR, jdk8-dragonwell-extended-binAUR, jdk8-dragonwell-standard-binAUR, jdk11-dragonwell-extended-binAUR, jdk8-j9-binAUR, jdk7-j9-binAUR, jdk7r1-j9-binAUR, jdk13-openjdkAUR, jdk15-openjdkAUR, jdk17-jetbrainsAUR, mandrel-binAUR, mandrel24-binAUR, jdk22-graalvm-ee-binAUR, jdk20-graalvm-ee-binAUR, jdk22-graalvm-binAUR, jdk19-openjdkAUR, jdk21-jetbrainsAUR, zulu-fx-binAUR, zulu11-fx-binAUR, zulu17-fx-binAUR, jdk11-openj9-binAUR, jre-zulu-binAUR, jre-zulu-fx-binAUR, jdk8AUR, jdk23-graalvm-ee-binAUR, jdk17-jetbrains-binAUR, jdk21-dragonwell-standard-binAUR, jdk24-graalvm-ce-binAUR, jdk8-dragonwell-extendedAUR, jdk23-temurinAUR, zing-23-binAUR, jdk17-dragonwell-standard-binAUR, jdk21-dragonwell-extended-binAUR, openjdk-zulu-ca-fx-binAUR, openjdk-zulu17-ca-fx-binAUR, openjdk-zulu21-ca-fx-binAUR, amazon-corretto-17AUR, amazon-corretto-21-binAUR, zulu-24-binAUR, liberica-nik-23-full-binAUR, jdk11AUR, liberica-nik-24-full-binAUR, jdk-openj9-binAUR, jdk24-graalvm-binAUR, jdk24-graalvm-ee-binAUR, liberica-nik-25-full-binAUR, amazon-corretto-24-binAUR, jdk8-openj9-binAUR, zulu-21-binAUR, jdk21-jetbrains-gitAUR, openjdk-liberica11-full-binAUR, openjdk-liberica17-full-binAUR, openjdk-liberica21-full-binAUR, openjdk-liberica8-full-binAUR, openjdk-liberica-full-binAUR, jdk-openjdk-wakefieldAUR, amazon-corretto-15AUR, microsoft-openjdk-21-binAUR, microsoft-openjdk-25-binAUR, microsoft-openjdk-17-binAUR, microsoft-openjdk-11-binAUR, jdk21-graalvm-ee-binAUR, amazon-corretto-25-binAUR, zulu-8-binAUR, zulu-11-binAUR, zulu-25-binAUR, jdk-android-studioAUR, zing-21-binAUR, zing-17-binAUR, zing-8-binAUR, jdk8-perfAUR, jdk25-openjdk-wakefieldAUR, zulu-17-binAUR, jdk25-graalvm-binAUR, jdk25-graalvm-ce-binAUR, jabba-binAUR, zulu-26-fx-binAUR, jdk21-jetbrains-binAUR, liberica-jdk-21-binAUR, jdk16-temurinAUR, java-openjdk-binAUR, liberica-jdk-full-binAUR, liberica-jdk-25-full-binAUR, liberica-jdk-21-full-binAUR, liberica-jdk-8-full-binAUR, jdk25-temurinAUR, jdk21-temurinAUR, jdk17-temurinAUR, jdk22-openjdkAUR, jdk23-openjdkAUR, jdk24-openjdkAUR, jdk17-graalvm-ee-binAUR, zulu-17-fx-binAUR, jdk25-openj9-binAUR, jdk11-temurinAUR, jdk17-openj9-binAUR, jdk21-openj9-binAUR, liberica-jdk-11-binAUR, liberica-jdk-11-full-binAUR, liberica-jdk-11-lite-binAUR, liberica-jdk-17-full-binAUR, jdk11-graalvm-ee-binAUR, jdk8-graalvm-ee-binAUR, java-openjdk-ea-binAUR, jdk8-temurinAUR, jdk21-graalvm-binAUR, jdk-temurinAUR, amazon-corretto-11AUR, amazon-corretto-8AUR, sapmachine11-jdkAUR, sapmachine17-jdkAUR, zulu8-fx-binAUR, zulu21-fx-binAUR, zulu-jdk-fx-binAUR, jre-jetbrainsAUR, jdkAUR, jdk-ltsAUR, jdk-openjdk, jdk11-openjdk, jdk17-openjdk, jdk21-openjdk, jdk25-openjdk, jdk8-openjdk)
- gradle (make)
- python (optional) – browser extension
Required by (0)
Sources (11)
- 0001-Try-to-use-release-made-in-fork-11517.patch
- 0002-Bump-com.github.koppor-gradle-modules-plugin-11544.patch
- 0003-Fix-build-with-Gradle-9.patch
- 0004-Update-easybind-to-avoid-using-unavailable-snapshot.patch
- 0005-Consolidate-Maven-repositories.patch
- abbrv.jabref.org-b69f1d607a57488276f3402bbf610d9129e7f6fb.tar.gz
- jabref-5.15.tar.gz
- jabref.desktop
- jabref.sh
- locales-e631a52dcea396be20d031b6456e91dba7772224.tar.gz
- styles-b2be5aeeee7f00fd2032ac1daad995bbe95398cf.tar.gz
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 .. 23 Next › Last »
Vitrum-cnkj34kr8 commented on 2023-09-26 23:11 (UTC) (edited on 2023-09-26 23:14 (UTC) by Vitrum-cnkj34kr8)
Bevan commented on 2023-09-26 20:55 (UTC)
@Vitrum-cnkj34kr8: Unfortunately, none of those options is the one I would suggest. "jdk-openjdk" (https://archlinux.org/packages/extra/x86_64/jdk-openjdk/) is the JDK included in the Arch repositories and it provides java-environment 21. So maybe just go ahead and install jdk-openjdk manually before building this package.
Vitrum-cnkj34kr8 commented on 2023-09-26 20:48 (UTC) (edited on 2023-09-26 20:50 (UTC) by Vitrum-cnkj34kr8)
On update, it asks me to choose a java-environment. Which one is the correct?
:: There are 8 providers available for java-environment=21:
1) amazon-corretto-21-bin
2) java-openjdk-bin
3) jdk
4) jdk-openjdk-xdg
5) jdk21-jetbrains-bin
6) jdk21-jetbrains-imfix
7) liberica-jdk-full-bin
8) zulu-21-bin
Bevan commented on 2023-09-26 20:17 (UTC)
The reason why I could not reproduce the issue is that I had jdk-temurin installed which currently is still at version 20. This means that gradle somehow tries to find a JDK matching the version specified as toolchain, no matter what we set via archlinux-java-run as $JAVA_HOME.
The best solution I can think of right now is exactly what Pavlov suggested: setting the toolchain in build.gradle to version 21 and forcing the use of JDK 21 for compilation and execution of JabRef. This is what I just pushed as jabref 5.10-2.
If anyone has a suggestion how we can avoid this issue while being more flexible with the JDK versions, please leave a comment.
Bevan commented on 2023-09-26 19:45 (UTC)
Thanks Pavlov! By replicating your exact setup I am now able to reproduce the issue. I'll try to find the root cause.
Pavlov commented on 2023-09-26 10:18 (UTC)
I've "resolved" it by replacing
toolchain {
languageVersion = JavaLanguageVersion.of(20)
}
with
toolchain {
languageVersion = JavaLanguageVersion.of(21)
}
in build.gradle. It seems that JabRef requires exactly JDK20 to compile, however Arch Linux doesn't provide any package containing version 20 of JDK anymore.
Pavlov commented on 2023-09-26 07:00 (UTC)
@Bevan these are the outputs.
archlinux-java status:
Available Java environments:
java-11-openjdk
java-17-openjdk
java-21-openjdk
java-8-openjdk/jre (default)
archlinux-java-run -a 20 -f jdk -j:
/usr/lib/jvm/java-21-openjdk
Bevan commented on 2023-09-25 17:48 (UTC)
@carlosal1015: I tried with Java 17 and while building the package works, launching JabRef does not. So I think at least version 20 is required.
@Pavlov and @vanja_z: I could not reproduce your issue yet. Can you please post the output of the following commands?
- archlinux-java status
- archlinux-java-run -a 20 -f jdk -j
carlosal1015 commented on 2023-09-25 17:19 (UTC)
Hi, is mandatory java-runtime>=20 or could be relaxed until 17?
Pavlov commented on 2023-09-25 13:57 (UTC)
Even with archlinux-java-run=10-1 the problem persists:
Execution failed for task ':compileJava'.
> Error while evaluating property 'javaCompiler' of task ':compileJava'.
> Failed to calculate the value of task ':compileJava' property 'javaCompiler'.
> No matching toolchains found for requested specification: {languageVersion=20, vendor=any, implementation=vendor-specific} for LINUX on x86_64.
> No locally installed toolchains match and toolchain download repositories have not been configured.
Pinned Comments
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/jabreflike this?So we can add the
-Djdk.gtk.version=2flag or-Dglass.gtk.uiScale=144dpiflag by cmdline, no need to edit/usr/bin/jabrefafter upgrade.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=2flag 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.