Comments (8)
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.
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.
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.
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.
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.
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.
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.
Thank you! I just pulled the latest and it's working.
from arch-minecraftserver.
Related Issues (12)
- docker: invalid reference format: repository name must be lowercase. HOT 1
- Server is not properly shutdown on docker restart/stop HOT 1
- Netty issues and extreme server lag (Unraid Docker) HOT 4
- Issue with Forge for 1.18.2
- Not allowing additional java flags
- There is no screen to be attached matching minecraft.
- Change server version HOT 1
- Allow garbage collection selection, additional startup args
- Add Java Version 16 to support upcoming releases HOT 3
- [Feature Request] Toggle Download of Vanilla Minecraft HOT 6
- Server is not restarted after crash HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arch-minecraftserver.