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

By Brahan
Aug 3, 2011
Post New Reply
  1. 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
  2. jobeard

    jobeard TS Ambassador Posts: 13,352   +301

    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
  3. Brahan

    Brahan Newcomer, in training Topic Starter

    I did...same thing happens
  4. Brahan

    Brahan Newcomer, in training Topic Starter

    I did a TIMEOUT on the .BAT and this is what I got
    i936.photobucket.com/albums/ad206/FisherStealth/ErrorMessage.png


Add New Comment

TechSpot Members
Login or sign up for free,
it takes about 30 seconds.
You may also...


Get complete access to the TechSpot community. Join thousands of technology enthusiasts that contribute and share knowledge in our forum. Get a private inbox, upload your own photo gallery and more.