User Tools

Site Tools


player:tutorials:mc-1.17-server

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Last revisionBoth sides next revision
player:tutorials:mc-1.17-server [2021/06/08 23:57] – created calloattiplayer:tutorials:mc-1.17-server [2023/01/28 00:01] modmuss50
Line 3: Line 3:
 A: The server is probably using Java 8. Minecraft 1.17 needs Java 16. A: The server is probably using Java 8. Minecraft 1.17 needs Java 16.
  
-**Q: What do I do now?** +**Q: How do I fix that?**
- +
-A: There are many options. The easier way is to download the Java 16 zip file, unzip in the server folder, edit your bat file to use the java.exe you downloaded. +
- +
-**Q: How do I do that?** +
- +
-1.Download this file: https://github.com/AdoptOpenJDK/openjdk16-binaries/releases/download/jdk-16.0.1%2B9/OpenJDK16U-jre_x64_windows_hotspot_16.0.1_9.zip +
- +
-2. Unzip it inside your server folder. +
- +
-3. You will now have a ''jdk-16.0.1+9-jre'' folder inside your server folder. For example if your server folder is located in ''M:\SERVER'', the java folder will be ''M:\SERVER\jdk-16.0.1+9-jre'' +
- +
-4. Edit the start.bat file you use to start your server, replace java with the full path to the java 16 executable. +
- +
-For example, if your current command to start the server is: +
- +
-''java -Xms3G -Xmx3G -jar fabric-server-launch.jar nogui'' +
- +
-Edit it like this: +
- +
-''%~dp0jdk-16.0.1+9-jre\bin\java.exe -Xms3G -Xmx3G -jar fabric-server-launch.jar nogui''  +
- +
-(''%~dp0'' is replaced with the path where the batch file starting the server is) +
- +
-Save the file, run it, allow java in the firewall warning if you get one, done.+
  
 +Please follow the [[player:tutorials:server:windows|Installing a Fabric Server]] page to install Java 17 and the fabric server.