Hi, recently a new Minecraft version came out. And it only supports Java 16, I tried installing with sudo eopkg it openjdk-16 But it didn't work. How can I install it?

    The Minecraft launcher ships with an appropriate JRE version that can be used to run the game. If a game version needs Java 16, it downloads Java 16. If you're using the official launcher, you don't need to worry about installing a new Java version—11 will do fine.

    If you're using a third-party client like MultiMC, look into SDKMAN as suggested above. We will not be adding any non-LTS versions of the JDK into the Solus repository, which includes 16.

    CorvusRuber Thanks, I will try it.
    Installation completed, thanks again.

    Uh, looks like I have another problem, when I try sudo update-alternatives it says sudo: update-alternatives: command not found
    How can I fix this?

      rahmanlar
      You can't, it's an Ubuntu command. There's no such thing as update-alternatives in Solus.
      And this brings us to the next question: why are you trying to run that command ?

        rahmanlar
        Only on Ubuntu and the like, Solus doesn't work like that (and by the way, SDKMan handles java versioning in userspace, you can install whatever java version you want and set whatever version you want without having to use alternatives).