How can i start my server (linux)?

Discussion in 'Bukkit Help' started by SwatCorp, Jan 15, 2011.

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

    SwatCorp

    I will start my server with this command:

    Code:
    java -jar craftbukkit.jar -Xms1024M -Xmx1024M nogui
    and putty say me

    Code:
    Jan 15, 2011 11:09:08 AM org.bukkit.craftbukkit.Main main
    SEVERE: 'X' is not a recognized option
    Option                                  Description
    ------                                  -----------
    -?, --help                              Show the help
    -P, --plugins <File: Plugin directory>  Plugin directory to use (default:
                                              plugins)
    -c, --config <File: Properties file>    Properties file to use (default:
                                              server.properties)
    -h, --host, --server-ip <Hostname or    Host to listen on
      IP>
    -o, --online-mode <Boolean:             Whether to use online authentication
      Authentication>
    -p, --port, --server-port <Integer:     Port to listen on
      Port>
    -s, --max-players, --size <Integer:     Maximum amount of players
      Server size>
    -w, --level-name, --world <World dir>   World directory
    
    But he start not the game
     
  2. Offline

    davedavy

    Ive got the same problem! But the console says: N is not a recognized...
     
  3. Offline

    Kekec852

    Try it like this:
    Code:
    java -Xms1024M -Xmx1024M -jar craftbukkit.jar nogui
     
  4. Offline

    SwatCorp

    is not better

    Code:
    java -Xms1024M -Xmx1024M craftbukkit.jar nogui
    Exception in thread "main" java.lang.NoClassDefFoundError: craftbukkit/jar
    Caused by: java.lang.ClassNotFoundException: craftbukkit.jar
            at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
            at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    Could not find the main class: craftbukkit.jar.  Program will exit.
    
     
  5. Offline

    Kekec852

    I see you forget -jar ... Look at my post again ...
     
  6. Offline

    SwatCorp

    ah, nice. Thanks :)
     
Thread Status:
Not open for further replies.

Share This Page