TechSpot

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: 9,022   +591

    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 TS Rookie Topic Starter

    I did...same thing happens
     
  4. Brahan

    Brahan TS Rookie Topic Starter

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

Similar Topics

Add New Comment

You need to be a member to leave a comment. Join thousands of tech enthusiasts and participate.
TechSpot Account You may also...