Radk6 / MC-Optimization-Guide

GNU General Public License v3.0
84 stars 0 forks source link

[Question] How do I make a modpack use a different Java version by default on 1.20.1? #1

Closed Mqony closed 1 month ago

Mqony commented 1 month ago

I want to ship a modpack out using GraalVM Java 21 instead of the default 17.0.8, but I can't find out how to do it. I don't even know how to change Java versions for just myself. How can I do this?

vibrantrida commented 1 month ago

You shouldn't do this and no launcher will let you do this.

Instead give your players instructions on how to setup GraalVM and explain why they should do so.

Radk6 commented 1 month ago

I want to ship a modpack out using GraalVM Java 21 instead of the default 17.0.8, but I can't find out how to do it. I don't even know how to change Java versions for just myself. How can I do this?

You can't ship a modpack with a different Java version, it's up to the player to change it. Like vibrantrida said, make instructions instead.