Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and the Yahoo Answers website is now in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.
Trending News
Can't set up bukkit server," '-jar' is not recognized as an internal or external command"?
When I try and set up a bukkit server i keep getting the error message:
"'-jar' is not recognized as an internal or external command,
operable program or batch file.
Press any key to continue . . ."
I'm running a 64bit operating system, and have java 7 installed.
The coding I'm using to try and run the craftbucket file is:
@ECHO OFF
SET BINDIR=%~dp0
CD /D "%BINDIR%"
"%ProgramFiles%\Java\jre7\bin\java.exe" -Xmx1024M -Xms1024M
-jar craftbukkit-1.2.5-R4.0.jar
PAUSE
Anyone got any suggestions on how i can make this work?
Thanks
1 Answer
- green meklarLv 79 years agoFavorite Answer
It looks like you may have a newline in there (just after -Xms1024M) that you didn't intend. That could cause the error you're seeing.
If you are editing the batch file using Notepad, switch to Wordpad. Some versions of Notepad automatically insert newlines to get the text to wrap, and that tends to mess stuff up. Wordpad doesn't do that.