Comments (4)
What the... thanks for reporting this! I'd imagine the problem is that Paper has checks for older JDKs in there. This one is using OpenJDK 17 at the moment.
Can you try the following commands:
cd ~/minecraft
rm -rf jre
curl -H "Accept-Encoding: identity" -H "Accept-Language: en" -A "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4.212 Safari/537.36" https://cdn.azul.com/zulu/bin/zulu13.48.19-ca-jdk13.0.11-linux_aarch64.tar.gz -o jre13.tar.gz -L
tar -xf jre13.tar.gz
rm -f jre13.tar.gz
mv jdk-* jre
Then try launching the server. It's silly that 1.11.2 and 1.12.2 work. That just shows that this restriction is absolute nonsense. It works fine if Paper would "let" it work! This will also break newer versions as then it will be too low but if you ever upgrade you can just delete the jre folder and run SetupMinecraft.sh again and it will take you to the latest.
I'm not sure what to do about this yet. Let's see if that gets it going for you first and I'll give some thought about how to address this in the script!
from raspberrypiminecraft.
Actually I found a better solution to this. I went straight to the Paper Minecraft team (linked above) and they said they aren't going to fix it because they have "no interest in fixing older versions".
If that's where it ended I would have forked this and the containerized version off Paper completely, or at least I was seriously weighing it as there are a bunch of other forks out there now to choose from, dozens at least, including a truly multithreaded one I was wanting to check out. Paper is not as "special" as it used to be, nor is it a requirement to get good performance on devices like the Pi anymore.
I constantly get requests for Sponge as an example and some of the other ones that allow a lot more "mods" vs. plugins. It's probably time for me to package some of these server packages and hedge my bets a little bit. I'm a big fan of Aikar and he hasn't really been developing for Paper (or much of anything at the moment) on GitHub and I can kind of "feel" his absence.
It doesn't make a lot of sense to me that they would continue to serve these versions live on the servers if they are unwilling to support them but that is solely up to them. I could choose what I wanted to support too but I just support whatever people are trying to do with my projects generally speaking. At the very least I would no longer serve them live on my API if I pulled support. That is their right though, just like it's the end users / downstream developer's right to choose whether to continue to use their project.
Fortunately there is a solution. They told me about a flag that will disable this behavior (definitely good enough for my purposes): -DPaper.IgnoreJavaVersion=true
I've added this in. If you run SetupMinecraft.sh again it should pass this version check!
from raspberrypiminecraft.
It works now! Thank you so much!
from raspberrypiminecraft.
No problem at all, thanks for reporting and following up!
from raspberrypiminecraft.
Related Issues (20)
- "Enter amount of memory"-text: add "M" in example HOT 1
- Server does not start HOT 2
- Server restart and Maintaining connection HOT 7
- Suggestion: Update backup script to utilize all cores HOT 1
- Unable to Set Path Variable - restart.sh HOT 3
- Installation fails, server does not start. HOT 3
- Update for 1.19 version HOT 3
- Does not pull latest paper version HOT 1
- Setting up the script gives a error. HOT 8
- Feature suggestion/fork suggestion: Forge version? HOT 1
- Version 1.19.3 HOT 3
- Typo in the readme.md HOT 1
- 1.19.4 support? HOT 4
- Open JDK 20 support? HOT 1
- Required OpenJDK version 18 could not be installed HOT 1
- Feature suggestion/fork suggestion: web console
- When I try to start the server nothing happens. HOT 1
- 1.20 update?
- server not starting properly 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 raspberrypiminecraft.