Coder Social home page Coder Social logo

Comments (4)

TheRemote avatar TheRemote commented on June 13, 2024

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.

TheRemote avatar TheRemote commented on June 13, 2024

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.

NotMick avatar NotMick commented on June 13, 2024

It works now! Thank you so much!

from raspberrypiminecraft.

TheRemote avatar TheRemote commented on June 13, 2024

No problem at all, thanks for reporting and following up!

from raspberrypiminecraft.

Related Issues (20)

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.