Giter Site home page Giter Site logo

Comments (8)

binhex avatar binhex commented on July 28, 2024 1

I am not sure if it will break it. I would assume it was backwards compatible. If you are concerned, is there a way to make 17 optional?

this is tricky, latest is named that for a reason as i cannot tell what version will be available as the upstream base os changes the java version, all i have is 8, 11, and now, 17, im going to just go for it i think and take the hit for any breakage as it sounds like the next version of minecraft requires java 17 in any case!.

from arch-minecraftserver.

BobTheCoder42 avatar BobTheCoder42 commented on July 28, 2024

From logs/screen.log
Error: LinkageError occurred while loading main class net.minecraft.bundler.Main
java.lang.UnsupportedClassVersionError: net/minecraft/bundler/Main has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 60.0

from arch-minecraftserver.

BobTheCoder42 avatar BobTheCoder42 commented on July 28, 2024

CUSTOM_JAR_PATH is set to the latest pre-release. Permissions and ownership were set to match the server.jar included in the container. Pre-release 1 still works (before their MC updated their java version)

from arch-minecraftserver.

BobTheCoder42 avatar BobTheCoder42 commented on July 28, 2024

From the unraid docker log
2021-11-18 07:33:40.991618 [info] CUSTOM_JAR_PATH defined as '/config/minecraft/minecraft_server-1.18-pre2.jar'
2021-11-18 07:33:46.893976 [info] JAVA_VERSION defined as '17'
2021-11-18 07:33:46.908932 [warn] Java version '17' not valid, defaulting to Java version 'latest

from arch-minecraftserver.

binhex avatar binhex commented on July 28, 2024

OK i can certainly rebuild the image which will then bump up the version of java to 17, i guess my only concern is will Java 17 break the existing official release of minecraft (as in v1.17.1) as that is currently built for Java 16?.

from arch-minecraftserver.

BobTheCoder42 avatar BobTheCoder42 commented on July 28, 2024

I am not sure if it will break it. I would assume it was backwards compatible. If you are concerned, is there a way to make 17 optional?

from arch-minecraftserver.

BobTheCoder42 avatar BobTheCoder42 commented on July 28, 2024

Also, they announced 1.18 would be released on the Nov 30th. Maybe you can have a PR version of this template? Then merge that in once they release...

from arch-minecraftserver.

BobTheCoder42 avatar BobTheCoder42 commented on July 28, 2024

Thank you! I just pulled the latest and it's working.

from arch-minecraftserver.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.