Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.jar file not communicating with MongoDB server #133

Closed
wizmeister777 opened this issue Apr 23, 2022 · 4 comments
Closed

.jar file not communicating with MongoDB server #133

wizmeister777 opened this issue Apr 23, 2022 · 4 comments

Comments

@wizmeister777
Copy link

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
Copy link
Contributor

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

java -version
java version "1.8.0_202"

@wizmeister777
Copy link
Author

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
Copy link
Contributor

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
Copy link
Contributor

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/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants