MineColab icon indicating copy to clipboard operation
MineColab copied to clipboard

[BUG] To use Java 8 for older Minecraft versions

Open n005 opened this issue 3 years ago • 3 comments

Describe the bug Java 15 is not support on most of Minecraft versions. Java 8 is better. Like #5

To Reproduce Steps to reproduce the behavior:

  1. Run Minecraft (1.8 for exemple)
  2. Logging isn't possible.
  3. See error like #5

Minecraft server Version Most of them.

Mod/Datapack list n/a : default settings

n005 avatar Dec 01 '20 11:12 n005

Hmm...that's probably a nice idea. Though java 15 seems to perform better in my testing and going back to 8 would lead to performance drop for newer versions. Also, I have tested all older Minecraft versions on java 11 (which is default in Colab) and it looked quite stable. How about adding a YAML file in the server folder with the parameter legacy which would specify which java version to run on the basis of the server version? The config would be set up first time when the server folder is made up and be used thereafter.

thecoder-001 avatar Dec 02 '20 06:12 thecoder-001

Perhaps set Java 8 the default version (because, many minecraft plugins was/are developed with, and comaptibily issues are quite often with other Java versions).

And either make a config file or ask at each run.

n005 avatar Dec 02 '20 12:12 n005

@thecoder-001 I am going to try to add that

orangemn6 avatar Jan 08 '21 14:01 orangemn6