With Minecraft now using java 21, how do i go about adding it to MineOS again? i know i did it in the past to re-add java 8 after the update to 17, but i completely forgot how to do so. i thought it was as simple as just doing pkg install openjdk21 in console, but clearly i'm missing a few steps, as it can't find anything.
*EDIT*
i've figured it out.
in mineos console,
apt-get update
apt-get install software-properties-common
choose yes
apt-get update
apt-get install openjdk-21-jdk
choose yes
java -version
when it's done to make sure it worked, then restart container.