Can't seem to install java 21
I've tried using brew, and each time i get the following results:
$ brew reinstall openjdk@21
==> Downloading https://ghcr.io/v2/homebrew/core/openjdk/21/manifests/21.0.7
Already downloaded: /var/home/minecraft/.cache/Homebrew/downloads/ec755cec1c21c81af06195db717f730e290e497bb850a09eb78e1a94c9f84c46--openjdk@21-21.0.7.bottle_manifest.json
==> Fetching openjdk@21
==> Downloading https://ghcr.io/v2/homebrew/core/openjdk/21/blobs/sha256:e83a003d88721a27a35db545
Already downloaded: /var/home/minecraft/.cache/Homebrew/downloads/10cf6da44e7366fadbdd01744fd700c8f12b5a25200801fc007b4bc23ea0b650--openjdk@21--21.0.7.x86_64_linux.bottle.tar.gz
==> Reinstalling openjdk@21
==> Pouring openjdk@21--21.0.7.x86_64_linux.bottle.tar.gz
==> Caveats
openjdk@21 is keg-only, which means it was not symlinked into /home/linuxbrew/.linuxbrew,
because this is an alternate version of another formula.
If you need to have openjdk@21 first in your PATH, run:
echo 'export PATH="/home/linuxbrew/.linuxbrew/opt/openjdk@21/bin:$PATH"' >> /var/home/minecraft/.bash_profile
For compilers to find openjdk@21 you may need to set:
export CPPFLAGS="-I/home/linuxbrew/.linuxbrew/opt/openjdk@21/include"
==> Summary
/home/linuxbrew/.linuxbrew/Cellar/openjdk@21/21.0.7: 594 files, 340.8MB
==> Running
$ brew reinstall openjdk@21
==> Downloading https://ghcr.io/v2/homebrew/core/openjdk/21/manifests/21.0.7
Already downloaded: /var/home/minecraft/.cache/Homebrew/downloads/ec755cec1c21c81af06195db717f730e290e497bb850a09eb78e1a94c9f84c46--openjdk@21-21.0.7.bottle_manifest.json
==> Fetching openjdk@21
==> Downloading https://ghcr.io/v2/homebrew/core/openjdk/21/blobs/sha256:e83a003d88721a27a35db545
Already downloaded: /var/home/minecraft/.cache/Homebrew/downloads/10cf6da44e7366fadbdd01744fd700c8f12b5a25200801fc007b4bc23ea0b650--openjdk@21--21.0.7.x86_64_linux.bottle.tar.gz
==> Reinstalling openjdk@21
==> Pouring openjdk@21--21.0.7.x86_64_linux.bottle.tar.gz
==> Caveats
openjdk@21 is keg-only, which means it was not symlinked into /home/linuxbrew/.linuxbrew,
because this is an alternate version of another formula.
If you need to have openjdk@21 first in your PATH, run:
echo 'export PATH="/home/linuxbrew/.linuxbrew/opt/openjdk@21/bin:$PATH"' >> /var/home/minecraft/.bash_profile
For compilers to find openjdk@21 you may need to set:
export CPPFLAGS="-I/home/linuxbrew/.linuxbrew/opt/openjdk@21/include"
==> Summary
==> Running
brew cleanup openjdk@21...