Unable to Access Jarfile Error
Go to solution
Solved by Crunchy Dragon,
4 minutes ago, kelvinhall05 said:Try doing the same command but instead of server.jar put C:\Users\Crunchy/ Dragon\Desktop\server.jar or wherever it is
Found a fix. This one was strange, so I'm documenting it here in case some poor soul searching the internet comes across this thread.
This problem was fixed by going into the server.jar properties:
The problem was that Windows blocked it, preventing cmd from reading it. All you'd have to do is check the "Unblock" box and give it the "Read-only" attribute. This should let the following command properly execute the server.jar:
java -Xms1G -Xmx3G -jar server.jar
Note: your memory allocation may vary from mine.
Shout out to @colonel_mortis for offering your aid as Master Coding Guru.
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 accountSign in
Already have an account? Sign in here.
Sign In Now