Grasscutters / Grasscutter

A server software reimplementation for a certain anime game.
https://grasscutter.io/
GNU Affero General Public License v3.0
16.21k stars 4.47k forks source link

Upgrade to BEYOND Java 8 #57

Closed KingRainbow44 closed 2 years ago

KingRainbow44 commented 2 years ago

At the moment Grasscutter is locked to Java 8. (if this isn't true, someone let me know) The reasons for this are:

I've already attempted updating the MongoDB wrapper to 16 with success, but the second issue is still applicable. Worst case scenario: the KCP server will need updating to support newer versions of Java. Best case scenario: I screwed something up while trying to update.

If anyone wants the updated database wrapper, let me know!

EDIT:

KingRainbow44 commented 2 years ago

Another good reason for doing this is because it seems people in the #support channel have a ton of issue with the Java version, since most have a newer version installed/don't know how to multiple versions of Java at the same time.

MlgmXyysd commented 2 years ago
  • The MongoDB mapper (at its current version) is not compatible with Java versions beyond 9.

Can we migrated it to MySQL?

KingRainbow44 commented 2 years ago

Can we migrated it to MySQL?

the idea isn't to migrate database (since the entire server literally RELYS on the mongo wrapper) and besides like I said, I already have the wrapper working on Java 16

4Benj commented 2 years ago

Can we migrated it to MySQL?

for the type of data we are saving MongoDB is more suitable in my opinion

KingRainbow44 commented 2 years ago

Finished with #130!