Update java on whyjava8

Add info about Java 21

Signed-off-by: Rahul Imran <notlutitious@gmail.com>
This commit is contained in:
Rahul Imran 2024-06-26 13:43:52 +01:00 committed by GitHub
parent caf025564e
commit 946285c2db
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3,6 +3,6 @@ title: Why does Prism Launcher ask me to change Java version?
color: orange
---
Minecraft versions before 1.17 required Java 8 and have issues with newer Java, while newer versions require Java 17, so you need to change Java version. Some people think Java 8 is very outdated, however, it's actually an LTS, meaning it's still getting updates.
Minecraft versions before 1.17 required Java 8 and have issues with newer Java, while newer versions require Java 17 or Java 21, so you need to change Java version. Some people think Java 8 is very outdated, however, it's actually an LTS, meaning it's still getting updates.
If one of your mods is weird and requires newer Java, you can bypass this, by going to instance settings-Java and ticking 'Skip java compatibility checks', but be aware of potential issues, such as [random CMEs](https://bugs.mojang.com/browse/MC-149777).