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#76246 - [jre-openjdk] hard-coded 18 version in install scripts causes version 19 installation to fail

Attached to Project: Arch Linux
Opened by Amin Vakil (aminvakil) - Wednesday, 19 October 2022, 07:30 GMT
Last edited by Toolybird (Toolybird) - Wednesday, 19 October 2022, 08:03 GMT
Task Type Bug Report
Category Packages: Testing
Status Closed
Assigned To No-one
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Facing this error upon upgrading and reinstalling jre-openjdk 19.0.1.u10-1 :

(1/1) reinstalling jre-openjdk [---------------------------------------------------------------------------------------] 100%
'/usr/lib/jvm/java-18-openjdk' is not a valid Java environment path
error: command failed to execute correctly

I think first line of these bash scripts should be changed:
https://github.com/archlinux/svntogit-packages/blob/packages/java-openjdk/trunk/install_jdk-openjdk.sh
https://github.com/archlinux/svntogit-packages/blob/packages/java-openjdk/trunk/install_jre-openjdk-headless.sh
https://github.com/archlinux/svntogit-packages/blob/packages/java-openjdk/trunk/install_jre-openjdk.sh

Additional info:
jre-openjdk 19.0.1.u10-1

Steps to reproduce:
pacman -Syu jre-openjdk
This task depends upon

Closed by  Toolybird (Toolybird)
Wednesday, 19 October 2022, 08:03 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#76243 

Loading...