Jump to content

Yo so, im trying to host an MC server and it was quite a while ago I did so I´ve forgotten most of it. 

 

Now, when im trying to run the server using the command "java -Xms2048M -Xmx2048M -jar server.jar" the system replies with 

 

"Unable to access jarfile"

 

Someone who can help me out?

Link to comment
https://linustechtips.com/topic/1078310-java-wont-start-with-cmd/
Share on other sites

Link to post
Share on other sites

Is server.jar in the same folder where you are running the command? Otherwise it might be corrupt. Have you tried redownloading it?

Crystal: CPU: i7 7700K | Motherboard: Asus ROG Strix Z270F | RAM: GSkill 16 GB@3200MHz | GPU: Nvidia GTX 1080 Ti FE | Case: Corsair Crystal 570X (black) | PSU: EVGA Supernova G2 1000W | Monitor: Asus VG248QE 24"

Laptop: Dell XPS 13 9370 | CPU: i5 10510U | RAM: 16 GB

Server: CPU: i5 4690k | RAM: 16 GB | Case: Corsair Graphite 760T White | Storage: 19 TB

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×