Package Details: jabref 5.15-2

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: 213
Popularity: 0.093395
First Submitted: 2012-06-07 22:47 (UTC)
Last Updated: 2024-09-23 19:59 (UTC)

Dependencies (4)

Required by (0)

Sources (7)

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

« First ‹ Previous 1 .. 3 4 5 6 7 8 9 10 11 12 13 .. 21 Next › Last »

MartinX3 commented on 2021-07-06 09:57 (UTC)

Jabref 5.3 supports java 16

Bevan commented on 2021-06-28 22:26 (UTC) (edited on 2021-07-07 21:05 (UTC) by Bevan)

The following comment is now obsolete!

As MartinX3 pointed out, the current version of Jabref only builds with Java 14 or Java 15. This gives us two problems:

  • Arch does not provide any of these versions in their repositories.
  • pacman doesn't give us a way to specify this as a dependency. Something like 'java-runtime>=14' 'java-runtime<16' will also be satisfied if people have Java 11 and Java 16 installed.

I therefore added a dependency on Java 15. To satisfy this dependency, you can install either of the following packages:

MartinX3 commented on 2021-06-22 19:44 (UTC) (edited on 2021-06-22 19:51 (UTC) by MartinX3)

General error during semantic analysis: Unsupported class file major version 60

Because it uses gradle 6.5 and java 17 to build the software. But java 16 support got introduced with gradle 7.0

Their graddlewrapper got upgraded to 7.0 on May 3, 2021 So either this package should force a java version < 16 or containing a hotfix to update the gradle wrapper version.

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.

Bevan commented on 2020-08-02 15:55 (UTC)

@juiin: Could you please test if you have the same problem with official build from https://www.fosshub.com/JabRef.html?dwl=JabRef-5.0-portable_linux.tar.gz ?

ruiin commented on 2020-08-02 15:46 (UTC)

Hi, I have the issue that the JabRef window becomes unresponsive (no menus like 'file', 'quality', while it works to select an item) on the second screen of a multi-screen setup.

Version: 2020-03-29 16:22 Error at runtime: (java:643023): Gdk-WARNING **: 17:45:00.905: XSetErrorHandler() called with a GDK error trap pushed. Don't do that.

Thanks

rmagno commented on 2020-07-09 13:20 (UTC) (edited on 2020-07-09 13:21 (UTC) by rmagno)

@Bevan: Thanks again!

rmagno@midget ~> sudo pacman -Qkq

No output is what I got. So seemingly it had been only those jre-* packages that were affected. I am guessing that at some point I must have forced pacman to ignore dependencies, like you said before.

BTW: Thank you for maintaining JabRef in Arch!

Bevan commented on 2020-07-09 13:17 (UTC)

@magno: Maybe quickly run sudo pacman -Qkq to make sure that no other packages are affected. It will output missing files and their corresponding package, so no output at all is what you want.

rmagno commented on 2020-07-09 13:10 (UTC)

Thank you @Bevan! JabRef works now again.

Reinstalling jre-openjdk and jre-openjdk-headless did solve it. And I had indeed many missing files. I can't, for the life of me, understand what I did that could explain this...

rmagno@midget ~> sudo pacman -S jre-openjdk jre-openjdk-headless
warning: jre-openjdk-14.0.1.u7-1 is up to date -- reinstalling
warning: jre-openjdk-headless-14.0.1.u7-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (2) jre-openjdk-14.0.1.u7-1  jre-openjdk-headless-14.0.1.u7-1

Total Installed Size:  179.63 MiB
Net Upgrade Size:        0.00 MiB

:: Proceed with installation? [Y/n] 
(2/2) checking keys in keyring                          [#############################] 100%
(2/2) checking package integrity                        [#############################] 100%
(2/2) loading package files                             [#############################] 100%
(2/2) checking for file conflicts                       [#############################] 100%
(2/2) checking available disk space                     [#############################] 100%
warning: could not get file information for usr/lib/jvm/java-14-openjdk/bin/jaotc
warning: could not get file information for usr/lib/jvm/java-14-openjdk/bin/java
warning: could not get file information for usr/lib/jvm/java-14-openjdk/bin/javac
warning: could not get file information for usr/lib/jvm/java-14-openjdk/bin/javap
warning: could not get file information for usr/lib/jvm/java-14-openjdk/bin/jdeprscan
warning: could not get file information for usr/lib/jvm/java-14-openjdk/bin/jdeps
warning: could not get file information for usr/lib/jvm/java-14-openjdk/bin/jfr
warning: could not get file information for usr/lib/jvm/java-14-openjdk/bin/jimage
warning: could not get file information for usr/lib/jvm/java-14-openjdk/bin/jjs
warning: could not get file information for usr/lib/jvm/java-14-openjdk/bin/jlink
warning: could not get file information for usr/lib/jvm/java-14-openjdk/bin/jmod
warning: could not get file information for usr/lib/jvm/java-14-openjdk/bin/jpackage
warning: could not get file information for usr/lib/jvm/java-14-openjdk/bin/jrunscript
warning: could not get file information for usr/lib/jvm/java-14-openjdk/bin/keytool
warning: could not get file information for usr/lib/jvm/java-14-openjdk/bin/rmid
warning: could not get file information for usr/lib/jvm/java-14-openjdk/bin/rmiregistry
warning: could not get file information for usr/lib/jvm/java-14-openjdk/bin/serialver
warning: could not get file information for usr/lib/jvm/java-14-openjdk/conf
warning: could not get file information for usr/lib/jvm/java-14-openjdk/legal
warning: could not get file information for usr/lib/jvm/java-14-openjdk/lib/classlist
warning: could not get file information for usr/lib/jvm/java-14-openjdk/lib/ct.sym
warning: could not get file information for usr/lib/jvm/java-14-openjdk/lib/jexec
warning: could not get file information for usr/lib/jvm/java-14-openjdk/lib/jfr/default.jfc
warning: could not get file information for usr/lib/jvm/java-14-openjdk/lib/jfr/profile.jfc
warning: could not get file information for usr/lib/jvm/java-14-openjdk/lib/jrt-fs.jar
warning: could not get file information for usr/lib/jvm/java-14-openjdk/lib/jspawnhelper
warning: could not get file information for usr/lib/jvm/java-14-openjdk/lib/jvm.cfg
warning: could not get file information for usr/lib/jvm/java-14-openjdk/lib/libawt.so
warning: could not get file information for usr/lib/jvm/java-14-openjdk/lib/libawt_headless.so
warning: could not get file information for usr/lib/jvm/java-14-openjdk/lib/libdt_socket.so
warning: could not get file information for usr/lib/jvm/java-14-openjdk/lib/libextnet.so
warning: could not get file information for usr/lib/jvm/java-14-openjdk/lib/libfontmanager.so
warning: could not get file information for usr/lib/jvm/java-14-openjdk/lib/libinstrument.so
warning: could not get file information for usr/lib/jvm/java-14-openjdk/lib/libj2gss.so
warning: could not get file information for usr/lib/jvm/java-14-openjdk/lib/libj2pcsc.so
warning: could not get file information for usr/lib/jvm/java-14-openjdk/lib/libj2pkcs11.so
warning: could not get file information for usr/lib/jvm/java-14-openjdk/lib/libjaas.so
warning: could not get file information for usr/lib/jvm/java-14-openjdk/lib/libjava.so
warning: could not get file information for usr/lib/jvm/java-14-openjdk/lib/libjavajpeg.so
warning: could not get file information for usr/lib/jvm/java-14-openjdk/lib/libjdwp.so
warning: could not get file information for usr/lib/jvm/java-14-openjdk/lib/libjimage.so
warning: could not get file information for usr/lib/jvm/java-14-openjdk/lib/libjli.so
warning: could not get file information for usr/lib/jvm/java-14-openjdk/lib/libjsig.so
warning: could not get file information for usr/lib/jvm/java-14-openjdk/lib/liblcms.so
warning: could not get file information for usr/lib/jvm/java-14-openjdk/lib/libmanagement.so
warning: could not get file information for usr/lib/jvm/java-14-openjdk/lib/libmanagement_agent.so
warning: could not get file information for usr/lib/jvm/java-14-openjdk/lib/libmanagement_ext.so
warning: could not get file information for usr/lib/jvm/java-14-openjdk/lib/libmlib_image.so
warning: could not get file information for usr/lib/jvm/java-14-openjdk/lib/libnet.so
warning: could not get file information for usr/lib/jvm/java-14-openjdk/lib/libnio.so
warning: could not get file information for usr/lib/jvm/java-14-openjdk/lib/libprefs.so
warning: could not get file information for usr/lib/jvm/java-14-openjdk/lib/librmi.so
warning: could not get file information for usr/lib/jvm/java-14-openjdk/lib/libsctp.so
warning: could not get file information for usr/lib/jvm/java-14-openjdk/lib/libsunec.so
warning: could not get file information for usr/lib/jvm/java-14-openjdk/lib/libverify.so
warning: could not get file information for usr/lib/jvm/java-14-openjdk/lib/libzip.so
warning: could not get file information for usr/lib/jvm/java-14-openjdk/lib/modules
warning: could not get file information for usr/lib/jvm/java-14-openjdk/lib/psfont.properties.ja
warning: could not get file information for usr/lib/jvm/java-14-openjdk/lib/psfontj2d.properties
warning: could not get file information for usr/lib/jvm/java-14-openjdk/lib/security/blacklisted.certs
warning: could not get file information for usr/lib/jvm/java-14-openjdk/lib/security/cacerts
warning: could not get file information for usr/lib/jvm/java-14-openjdk/lib/security/default.policy
warning: could not get file information for usr/lib/jvm/java-14-openjdk/lib/security/public_suffix_list.dat
warning: could not get file information for usr/lib/jvm/java-14-openjdk/lib/server/classes.jsa
warning: could not get file information for usr/lib/jvm/java-14-openjdk/lib/server/libjsig.so
warning: could not get file information for usr/lib/jvm/java-14-openjdk/lib/server/libjvm.so
warning: could not get file information for usr/lib/jvm/java-14-openjdk/lib/tzdb.dat
warning: could not get file information for usr/lib/jvm/java-14-openjdk/release
warning: could not get file information for usr/lib/jvm/java-14-openjdk/lib/libawt_xawt.so
warning: could not get file information for usr/lib/jvm/java-14-openjdk/lib/libjawt.so
warning: could not get file information for usr/lib/jvm/java-14-openjdk/lib/libjsound.so
warning: could not get file information for usr/lib/jvm/java-14-openjdk/lib/libsplashscreen.so
:: Processing package changes...
(1/2) reinstalling jre-openjdk-headless                 [#############################] 100%
(2/2) reinstalling jre-openjdk                          [#############################] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...

Now archlinix-java correctly lists java-14-openjdk:

rmagno@midget ~> archlinux-java status
Available Java environments:
  java-14-openjdk
  java-8-openjdk (default)

Bevan commented on 2020-07-09 13:04 (UTC)

OK, yo all required packages are installed. The java executable should be coming with jre-openjdk-headless which you have installed:

pacman -Qo /usr/lib/jvm/java-14-openjdk/bin/java
/usr/lib/jvm/java-14-openjdk/bin/java is owned by jre-openjdk-headless 14.0.1.u7-1

Reinstalling jre-openjdk and jre-openjdk-headless will hopefully fix that but of course the question remains why this file was lost.