Windows is not allowing me to run Batch Files (Java)

Windows is not allowing me to run Batch Files on both my machines?

I am trying to run a mine-craft server on my PCs I have.

I have a GateWay Laptop running Win7

and my server pc which I run Windows 2003 Server on....

My batchfile information is
java -Xmx1024M -Xms1024M -jar minecraft_server.jar nogui

Let me know if you need more information

PS: The CMD window just flashes with about 2 lines of text but I can't read it because it flashes to quickly
 
add this to the command line
2>java.log
eg java -Xmx1024M -Xms1024M -jar minecraft_server.jar nogui 2>java.log

you can the read it with notepad java.log
 
I did a TIMEOUT on the .BAT and this is what I got
i936.photobucket.com/albums/ad206/FisherStealth/ErrorMessage.png
 
Back