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!
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!
FS#78268 - [jre-openjdk] outdated install script error
Attached to Project:
Arch Linux
Opened by knotix (knotix) - Thursday, 20 April 2023, 15:39 GMT
Last edited by freswa (frederik) - Thursday, 20 April 2023, 18:55 GMT
Opened by knotix (knotix) - Thursday, 20 April 2023, 15:39 GMT
Last edited by freswa (frederik) - Thursday, 20 April 2023, 18:55 GMT
|
DetailsDescription:
When installing the package, the following error occurs: `/usr/lib/jvm/java-19-openjdk is not a valid Java environment path` I think this happens because in the first line of `install_jre-openjdk.sh`, `THIS_JDK` is still set to `java-19-openjdk` instead of `java-20-openjdk`. This bug also affects `jre-openjdk-headless` and `jdk-openjdk`. Additional info: * package version 20.0.1.u9-1 |
This task depends upon
Closed by freswa (frederik)
Thursday, 20 April 2023, 18:55 GMT
Reason for closing: Fixed
Additional comments about closing: 20.0.1.u9-2
Thursday, 20 April 2023, 18:55 GMT
Reason for closing: Fixed
Additional comments about closing: 20.0.1.u9-2
Going back to:
jre-openjdk-19.0.2.u7-2-x86_64.pkg.tar.zst
jre-openjdk-headless-19.0.2.u7-2-x86_64.pkg.tar.zst
solves all problems.
Priority should be changed from Normal to high due to several broken programs that need Java.
cannot resolve "java-runtime-openjdk=19", a dependency of "java-openjfx"
I guess it'll resolve itself soon.
Setting java-20 as default with archlinux-java and reinstalling will kind of fix the jre.
Then I get these warnings:
java --version
[0.003s][warning][cds] A jar file is not the one used while building the shared archive file: /usr/lib/jvm/java-20-openjdk/lib/modules
[0.003s][warning][cds] /usr/lib/jvm/java-20-openjdk/lib/modules timestamp has changed.