I accidentally changed the default program to open my run my server.jar to winrar and I can't change it back to the default java program that runs it, I have tried using the four java apps in my JRE7 bin and it won't work, also bat files won't run my server. I am on a 32 bit windows 7 computer and I need to use a jar file because I want to play with mods with my friends. Please help.
Ok, I know I am a nood with this but what exactly have I got to do to get this batch file working?
Edit: I tried making a bat file with that code and it says unable to access jarfile. what do I do?
That was just an example. If you want one that works on your computer, replace "C:\Users\%username%\Minecraft Server\minecraft_server.jar" with the path to your server.jar or post the path so I can make the batch file for you.
Right click the file and then click on "Properties" to find the path.