You are not logged in.

#1 2024-08-28 05:27:58

meckchat
Member
Registered: 2024-02-19
Posts: 4

[SOLVED] Java missing dependencies when trying to install jabref

I am having difficulties installing the Jabref AUR. After trying installing different jdk options during the installations, and manually trying to install, uninstall specific jdk-xx-openjdk and jre-xx-openjdk, I have managed to break some things and the command:

% makepkg -src

now produces the error:

==> Making package: jabref 5.15-1 (Tue 27 Aug 2024 10:07:08 PM PDT)
==> Checking runtime dependencies...
==> Installing missing dependencies...
error: target not found: archlinux-java-run>=10
==> ERROR: 'pacman' failed to install missing dependencies.
==> Missing dependencies:
  -> archlinux-java-run>=10
==> Checking buildtime dependencies...
==> ERROR: Could not resolve all dependencies.

I don't understand how to fix this error. It seems to me that I have installed a Java environment >=10:

% archlinux-java status
Available Java environments:
  java-11-openjdk
  java-21-openjdk
  java-22-openjdk (default)

and the packages are installed:

% pacman -Q | grep jdk 
jdk-openjdk 22.0.1.u0-1
jdk11-openjdk 11.0.23.u9-1
jdk21-openjdk 21.0.3.u9-1

My system is up-to-date, (according to

 % pacman -Suy 

).

Any help would be greatly appreciated.

Last edited by meckchat (2024-08-28 17:47:56)

Offline

#2 2024-08-28 09:51:34

mpan
Member
Registered: 2012-08-01
Posts: 1,332
Website

Re: [SOLVED] Java missing dependencies when trying to install jabref

==> Missing dependencies:
  -> archlinux-java-run>=10

You’re missing archlinux-java-run.


Sometimes I seem a bit harsh — don’t get offended too easily!

Offline

#3 2024-08-28 17:46:07

meckchat
Member
Registered: 2024-02-19
Posts: 4

Re: [SOLVED] Java missing dependencies when trying to install jabref

Thank you mpan. After installing it, I was able to install jabref. I should have been able to figure this out, but I appreciate your help!

Offline

Board footer

Powered by FluxBB