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 [email protected]_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 cleanup openjdk@21
...9 Replies
use prismlauncher for minecraft
less headache
what is prismlauncher?
minecraft launcher
include java
oh wait
ur username is minecraft?
Ah, okay. If it installs java 21 then that would work. I'm trying to run a minecraft server on my bazzite machine
one of the local users. its a test user while I figure things out
I'll look into it, see if it'll work for modded
it will
check the docs
ohhh i see, set up the container and then run the server within
you wouldn't happen to have a quadlet setup guide would you?
thats what i linked
read from the top if you want more explanation