Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#80173 - [jdk-openjdk] release file is missing

Attached to Project: Arch Linux
Opened by Arthur Borsboom (ArthurBorsboom) - Sunday, 05 November 2023, 21:05 GMT
Last edited by freswa (frederik) - Tuesday, 07 November 2023, 20:58 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Leonidas Spyropoulos (inglor)
Levente Polyak (anthraxx)
freswa (frederik)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

After the move from having both jdk and jre packages to only a jdk package, eclipse stopped working for Java 21 projects with "...failed to detect JDK release...".
A file compare between desktops with the old package (jdk-openjdk 21.u35-3) and the new package (jdk-openjdk 21.u35-7) showed that the following file is missing.

/usr/lib/jvm/java-21-openjdk/release

After a manual copy of this file from the desktop with the older package, Eclipse starts working again.

Additional info:
* package version(s): jdk-openjdk 21.u35-3, jdk-openjdk 21.u35-7

Steps to reproduce:

- Eclipse project setup is a long process. If it is really necessary I can provide this info, but let's first see if the missing release file is just a silly mistake or unwanted side effect. :)
This task depends upon

Closed by  freswa (frederik)
Tuesday, 07 November 2023, 20:58 GMT
Reason for closing:  Fixed
Comment by Arthur Borsboom (ArthurBorsboom) - Sunday, 05 November 2023, 21:12 GMT
Looking at the jdk-openjdk package history, the 'release' file has been 'removed' between versions 21.u35-3 and 21.u35-4

in the commit below, line 171

https://gitlab.archlinux.org/archlinux/packaging/packages/java-openjdk/-/commit/3230077cbf2586c7cf8cbec347bb65adcdcfb926

Loading...