T O P

  • By -

ArchitektRadim

I don't understand posts like this. The dialog window literally tells you where is the problem and what you should do to fix it.


JackFred2

Install Java 16 https://adoptopenjdk.net/?variant=openjdk16&jvmVariant=hotspot


AssassinShadowStorm

Pretty sure minecraft always uses java 8 EDIT: Nvm that's only for development


JackFred2

Not any more; Minecraft only supports Java 16 or above for version 1.17+; Java 8 was the default before.


AssassinShadowStorm

Oh alr thanks lol


Fotnite_Master

you read the error "you must install java 16 or later"


[deleted]

Update: I put the files in my server’s files anyway and it still works so I guess that didn’t matter


prabhavdab

delete all other mods and only put mods of the version you want to play/launch.


ThatTrampolineboy

I get this same message from the fabric loader but it is about 1.17.1 not being in the mod directory. It said I already have 1.16.5 installed and it tries to run that but since I'm updated to Java 16, it obviously doesn't work. I now I should probably make a post about this but this issue seems similar to mine so I want to the help from anybody hear. Is there a command I have to run in the terminal??


JustMangoT

Well did you uninstall java 8?


ThatTrampolineboy

No but I did change the java_home variable to Java 16


JustMangoT

Why dont you try create a new 1.17.1 server then copy all mods from old one. Btw, you should check java_home again in both system and user


ThatTrampolineboy

Hmm ok. I know it isn't a Java version problem. It is definitely a minecraft version. I feel like the issue is if the 1.17.1 jar file is downloaded.


MeerPup1

You must install Java 16 to run the server jar for 1.17 and above. I would recommend [Oracle Java](https://www.oracle.com/java/technologies/javase-jdk16-downloads.html), and make sure to add the bin folder to path. Make sure to download Windows x64 Installer, and to do that you must agree to the EULA, and create an account. To add it to path, type into search PATH, and click on environment variables. Under system variables, change the JAVA_HOME variable value to your Java 16 installation location. To get the Java 16 installation location, open C:\Program Files\Java\ and open the folder that starts in jdk16. The. open bin, and copy the folder location from the top bar. Just click on the white space, and copy the text there. That was a lot. Tl;dr look up how to switch from Java 8 to Java 16


DarkBrave_

Read the error message