Skip to content

Commit

Permalink
Fix issue #39 - add -DPaper.IgnoreJavaVersion=true to startup line to…
Browse files Browse the repository at this point in the history
… allow 1.13-1.16 versions to run
  • Loading branch information
TheRemote committed May 16, 2022
1 parent 9239236 commit 9260e9e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,11 @@ There are 2 choices for the alternative java (providing /usr/bin/java).

<h2>Update History</h2>

<h3>May 16th 2022</h3>
<ul>
<li>Add -DPaper.IgnoreJavaVersion=true to allow OpenJDK 17 to run the older Paper Minecraft versions (thanks NotMick, <a href="https://github.com/TheRemote/RaspberryPiMinecraft/issues/39">issue #39</a></li>
</ul>

<h3>May 15th 2022</h3>
<ul>
<li>Added screen -wipe to beginning of start.sh to prevent a startup issue that could occur if there was a "dead" screen instance (thanks grimholme)</li>
Expand Down
2 changes: 1 addition & 1 deletion start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -202,4 +202,4 @@ fi

echo "Starting Minecraft server. To view window type screen -r minecraft."
echo "To minimize the window and let the server run in the background, press Ctrl+A then Ctrl+D"
screen -dmS minecraft dirname/minecraft/jre/bin/java -jar -Xms400M -XmxmemselectM dirname/minecraft/paperclip.jar
screen -dmS minecraft dirname/minecraft/jre/bin/java -DPaper.IgnoreJavaVersion=true -jar -Xms400M -XmxmemselectM dirname/minecraft/paperclip.jar

0 comments on commit 9260e9e

Please sign in to comment.