Skip to content

msh unable to start minecraft server #132

Discussion options

You must be logged in to vote

"StartServer": "C:\\Program Files\\Java\\jre1.8.0_311\\bin\\java.exe <Commands.StartServerParam> -jar <Server.FileName> nogui",

in this line java should be invoked without any spaces (the space in Program Files)

you can:

  • move the java.exe executable in an other folder without spaces in path (example: C:\\Java\\jdk-16.0.1\\bin\\java.exe)
  • add the java directory to path environment variable and the just invoking it with java

Replies: 8 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by gekigek99
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #128 on February 10, 2022 11:37.