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: 8,945   +584

    add this to the command line
    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

Similar Topics

Create an account or login to comment

You need to be a member in order to leave a 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.