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

.jar file not communicating with MongoDB server #133

Closed wizmeister777 closed 2 years ago

wizmeister777 commented 2 years ago

Steps taken during startup process: MongoDB service started from cmd MongoDBCompass opened to verify server status, successfully connected to localhost:27017 (picture attached to verify connection) Attempted to run grasscutter.jar (pre-packaged version), received error message below

Persists after disabling windows firewall, allowing MongoDB to connect to all local ports, and running the cmd as admin; Windows 11 OS with MongoDB 5.0.7 and JDK 8.0

image image

omg-xtao commented 2 years ago

Are you sure you're using JDK-8u202 ?

java -version
java version "1.8.0_202"
wizmeister777 commented 2 years ago

Are you sure you're using JDK-8u202 ?

java -version
java version "1.8.0_202"

I'm on base Java 8:

java -version java version "1.8.0" Java(TM) SE Runtime Environment (build 1.8.0-b132) Java HotSpot(TM) 64-Bit Server VM (build 25.0-b70, mixed mode)

Should I upgrade?

omg-xtao commented 2 years ago

Are you sure you're using JDK-8u202 ?

java -version
java version "1.8.0_202"

I'm on base Java 8:

java -version java version "1.8.0" Java(TM) SE Runtime Environment (build 1.8.0-b132) Java HotSpot(TM) 64-Bit Server VM (build 25.0-b70, mixed mode)

Should I upgrade?

Yes.

Koko-boya commented 2 years ago

Are you sure you're using JDK-8u202 ?

java -version
java version "1.8.0_202"

I'm on base Java 8: java -version java version "1.8.0" Java(TM) SE Runtime Environment (build 1.8.0-b132) Java HotSpot(TM) 64-Bit Server VM (build 25.0-b70, mixed mode) Should I upgrade?

Yes.

java version "1.8.0_202" Java(TM) SE Runtime Environment (build 1.8.0_202-b08) Java HotSpot(TM) 64-Bit Server VM (build 25.202-b08, mixed mode)

Java 8 Version 202 is Needed to run grasscutter Download Link: https://mirrors.huaweicloud.com/java/jdk/8u202-b08/