MineOS Minecraft 1.18 openJDK17

jfischer

Cadet
Joined
Dec 1, 2021
Messages
2
For running minecraft 1.18 I've read you need openjdk17. Now I'm running MineOS 12.2-RELEASE-p11 with openjdk16.
Does anyone know how to update to jdk17? Or is it not available right now?
 

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
pkg install openjdk17 inside the jail just worked. My son and his friends are gaming away for a week or so, now. We started with the "pre" releases of MC 1.18.
 

chravis

Contributor
Joined
Jan 27, 2019
Messages
104
@DawnTreader - make sure your server.config file has something like this in it. This was the missing step for me when trying to upgrade to java16 in order to use Minecraft 1.17.

java_binary=/usr/local/openjdk17/bin/java
 

DawnTreader

Dabbler
Joined
Mar 21, 2017
Messages
12
Can I put that in a GUI web page somewhere? or do I manually edit the file?

Edit: because of my setup i was actually able to do this with notepad and get it working! Putting that line in worked!
 
Last edited:

chravis

Contributor
Joined
Jan 27, 2019
Messages
104
Excellent, glad it worked. I don't know if this field has been added to a GUI page anywhere.
 

Niptastic

Cadet
Joined
Jan 27, 2022
Messages
5
@DawnTreader - make sure your server.config file has something like this in it. This was the missing step for me when trying to upgrade to java16 in order to use Minecraft 1.17.

java_binary=/usr/local/openjdk17/bin/java
I gotta highjack to thank you! I've been trying to get a 1.16.5 forge server going for 2 days now and nothing seemed to be working. I had a spigot server in 1.18 up, but could not figure out how to get forge to use the right java version. This line in server.config did it! Thank you so much!
 
Top