Hi everyone. I'm having a bit of trouble getting the Exe Jar file working. Everytime I try and run it it gives me the error: Failed to load Main-Class manifest attribute from C:\Users\{My name}\Documents\MC Server\minecraft-server.jar.
I also get the error from the start server batch file: 'Java' is not recognized as an internal or external command, operable program, or batch file. Press any key to continue. Where is the any key etc. etc.
The second error is because you don't have Java installed. Go to here and download the latest package for your operating system then install it.
Actually this is wrong.
I'm not exactly sure how to do this but, you need to add the location of java to your PATH system variable.
Its probably one of the system settings.
On windows you need to:
1:open up my computer and browse to the C: drive
2:browse to Program files OR Program files(x64)
3:browse to Sun
4:look in here for a file called java.exe
5:copy the path of the folder with java.exe
6:find the path variable
7:add a semicolon (:wink.gif:
8:paste the folder with java.exe in it
9:Enjoy your server
I also get the error from the start server batch file: 'Java' is not recognized as an internal or external command, operable program, or batch file. Press any key to continue. Where is the any key etc. etc.
I've forwarded the port.
Edit: Thank you for your help in advance.
I did this and nothing new happened. Any other suggestions?
Exactly the same error?
EDIT: I'm running 64bit Vista.
Exception in "main"...
Vista 64 bit
Actually this is wrong.
I'm not exactly sure how to do this but, you need to add the location of java to your PATH system variable.
Its probably one of the system settings.
On windows you need to:
1:open up my computer and browse to the C: drive
2:browse to Program files OR Program files(x64)
3:browse to Sun
4:look in here for a file called java.exe
5:copy the path of the folder with java.exe
6:find the path variable
7:add a semicolon (:wink.gif:
8:paste the folder with java.exe in it
9:Enjoy your server
I'll add detail soon
robo