-1

I'm new to Java, so I followed this tutorial to learn how to make a Modded Minecraft server. But, in the tutorial, it isn't shown how to run the .jar file as a server, on my own PC. When I try the CMD command java -Xmx1024M -Xms1024M -jar jarfile.jar, I get this error:

no main manifest attribute, in jarfile.jar

Is there any way that I can run a server from the .jar file? Thank you in advance!

vismodo
  • 5
  • 5

1 Answers1

0

What the video is about is called a plugin, not a server or modification. You create a .jar plugin that needs to be placed in the plugins folder in the server directory.

The plugin will be loaded during the server startup process, so it does not require a separate launch.

Husker
  • 180
  • 1
  • 6