#Geyser not loading on Java 16 (1.16.5)

1 messages · Page 1 of 1 (latest)

civic anvil
#

As the title states, when trying to launch a 1.16.5 paper server using Java 16. I've attached a .txt with the failure that I see in the terminal. I've googled my issues to no avail, as the fix is to run it through Java 16, and I'm already doing that

harsh robinBOT
# civic anvil As the title states, when trying to launch a 1.16.5 paper server using Java 16. ...
Found errors in the log!

See below for details and possible fixes

java.lang.UnsupportedClassVersionError

Geyser currently requires Java 17 or later to run. You can download Java 17 at https://adoptium.net/temurin/releases/
To find out how to change your Java version on hosts or other platforms, look at https://docs.papermc.io/java-install-update

If you’re running a version of Paper that does not support Java 17 or later, you can add the flag -DPaper.IgnoreJavaVersion=true to your startup Java arguments to allow Paper to run on Java 17.
You can run Geyser standalone on another device if a server software cannot be updated to use Java 17.

civic anvil
#

So, does Geyser just no longer work with Java 16 then?

hybrid dove
#

it does not, you'll need to use java 17

#

You can use paper 1.16.5 alongside the -DPaper.IgnoreJavaVersion=true flag to run it with java 17

civic anvil
#

Got it, I'll give it a go. Thanks

#

quick question, does this look right? it throws D is not a recognised option

java -Xms2G -Xmx2G -jar paper.jar --nogui -DPaper.IgnoreJavaVersion=true

#

Could be doing that wrong

hybrid dove
#

try adding it infront of the nogui arg maybe?

civic anvil
#

Running it without D (Typo?) gives me this: Unsupported Java detected (61.0). Only up to Java 16 is supported.

civic anvil
#

Nope

#

Same thing

hybrid dove
#

try java -DPaper.IgnoreJavaVersion=true -jar paper.jar --nogui
(with the xms/xmx args)

civic anvil
#

before or after the xms/xmx args

hybrid dove
hybrid dove
civic anvil
#

Alright

#

Yep, seems to have fixed another broken plugin as well! Thanks!

hybrid dove
#

you're welcome 🙂

harsh robinBOT
#

Post is tagged with Answered

#

Post is closed

nimble ice
full imp