Search Criteria
Package Base Details: java18-openjdk
Package Actions
- View PKGBUILD / View Changes
- Download snapshot
- Search wiki
- Flag package out-of-date
- 1 pending request
- Submit Request
Git Clone URL: | https://aur.archlinux.org/java18-openjdk.git (read-only, click to copy) |
---|---|
Submitter: | HLFH |
Maintainer: | HLFH |
Last Packager: | HLFH |
Votes: | 1 |
Popularity: | 0.000329 |
First Submitted: | 2022-11-06 15:52 (UTC) |
Last Updated: | 2022-11-06 16:17 (UTC) |
Latest Comments
FabioLolix commented on 2023-10-15 15:50 (UTC)
That is incomplete and this is too
There isn't a default in chroot, you need to set it if the pkgbuild need a specific version
jdk17 is lts and still available in Arch repo
https://wiki.archlinux.org/title/DeveloperWiki:Building_in_a_clean_chroot#Convenience_way
HLFH commented on 2022-12-06 08:54 (UTC) (edited on 2022-12-06 08:55 (UTC) by HLFH)
@gnaggnoyil
yay -S jdk18-openjdk
works as well. This package can be installed.Are you using a modified PKGBUILD? Did you empty the cache before the installation?
I am using the same PKGBUILD as the one for jdk19-openjdk.
Maybe you want to read the end of this discussion about ccache. Looks like an issue with how ccache is setup with you.
Don't hesitate to submit a bug report for jdk19-openjdk and if accepted, I will backport.
gnaggnoyil commented on 2022-12-05 16:00 (UTC) (edited on 2022-12-05 16:00 (UTC) by gnaggnoyil)
@HLFH
By running
sudo archlinux-java set java-17-openjdk
this package can be built withmakepkg -s
. However:extra-x86_64-build
will still fail as before.makepkg -s
directly as described above, the PKGBUILD still requires the optionccache
to be off to build, otherwise it will emit the following error:Therefore, I would like to see the PKGBUILD improved to cover the above 3 I mentioned. (I used to believe the java environment problem can be resolved by specifying a more strict version range for
java-environment
, but I failed to find a solution.)HLFH commented on 2022-12-05 10:51 (UTC) (edited on 2022-12-05 10:51 (UTC) by HLFH)
@gnaggnoyil
What is your default Java environment? And your available Java environments? It seems you have put it to java-19-openjdk? Can you set it to java-17-openjdk to build?
gnaggnoyil commented on 2022-12-04 18:24 (UTC)
I ran this PKGBUILD in a clean chroot and it gave the following error:
Does anyone know how to eliminate this error?