Build fails with java-17-openjdk as default #7362
mortis-est
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I just wanted to post this here in case anyone else encounters this issue in the future. I was encountering this error when installing the ghidra-git package via the AUR. The message below suggests to enable java-17-openjdk as the default. However, that results in a failed build process.
FAILURE: You seem to have jdk21 or above installed correctly but your system defaults to another java version. To enable it please type: sudo archlinux-java set java-17-openjdk
Instead, the error message should say:
sudo archlinux-java set java-21-openjdk
The command above sets java-21-openjdk as the default and doing so results in a successful build process.
Beta Was this translation helpful? Give feedback.
All reactions