Why is my server running as a process?

Discussion in 'Bukkit Help' started by elmoxdesease, Aug 9, 2012.

Thread Status:
Not open for further replies.
  1. Offline

    elmoxdesease

    I have not run my Bukkit server in a long while but now when i run it, the server runs in the background as a process instead of a program. How do I turn it back into a prompt so I can see if it has errors, use commands and shut it down without the use of task manager? Or is this just a new feature that I don't understand.
    This happened when i an it with 1.2.5 and 1.3.1
    I am running java on version "1.7.0_05"
    Other java info-
    Java <TM> SE Runtime Environment <build 1.7.0_05-b06>
    Java HotSpot<TM> 64-Bit Server UM <build 23.1-b03, mixed mode>
     
  2. Offline

    yttriuszzerbus

    What OS are you using? Also please post your start script
     
  3. Offline

    elmoxdesease

    I have windows 7. Also I start the server up by running the .jar with java platform. I can't see any scripts at all because the server prompt does not open as a viewable program.
     
  4. Offline

    Xmillsa

    You need to run the server using a .bat file to execute the jar, you cant run it by double clicking the jar on its own.

    Try something like this, modify to your own needs, simply create a run.bat, fill it with this code and run the bat file to run your server.
    Code:
    @ECHO OFF
    SET BINDIR=%~dp0
    CD /D "%BINDIR%"
    "%ProgramFiles%\Java\jre6\bin\java.exe" -Xmx1024M -Xms1024M -jar craftbukkit.jar
    PAUSE
     
Thread Status:
Not open for further replies.

Share This Page