• 0

    posted a message on Minecraft server on AppleTV2 (Java 1.5)
    This is my most recent progress:
    I unzipped the jar file first.
    The caveat is that once the server is running, I can connect to it in minecraft client. Instead of the waiting for server and then a time out, it moves to "Logging in". However, after a time out, it drops out. The server appears to be running on the AppleTV2, but it cannot load everything to actually get the whole program up and running. I can type commands to the minecraft server from the terminal window, but when I type list to list the players, it says "stopping server" and then the server quits.
    Weird huh? Anyone have ideas for these seemingly last few bugs in the way of running a server all the time on my AppleTV2?

    Apple-TV:/Applications/minecraft/mcserver root# java -Xmx128M -Xms128M net.minecraft.server.MinecraftServer nogui
    [Lmp;@69aa18
    146 recipes
    [Lmp;@69aa18
    16 achievements
    2011-05-19 03:01:17 [INFO] Starting minecraft server version Beta 1.5_02
    2011-05-19 03:01:17 [WARNING] **** NOT ENOUGH RAM!
    2011-05-19 03:01:17 [WARNING] To start the server with more ram, launch it as "java -Xmx1024M -Xms1024M -jar minecraft_server.jar"
    2011-05-19 03:01:17 [INFO] Loading properties
    2011-05-19 03:01:17 [INFO] Starting Minecraft server on *:25565
    java.lang.NoSuchMethodError: setPerformancePreferences
    at cl.<init>(SourceFile:25)
    at net.minecraft.server.MinecraftServer.c(SourceFile: 129)
    at net.minecraft.server.MinecraftServer.run(SourceFil e:263)
    at bj.run(SourceFile:394)
    2011-05-19 03:01:17 [SEVERE] Unexpected exception
    java.lang.NoSuchMethodError: setPerformancePreferences
    at cl.<init>(SourceFile:25)
    at net.minecraft.server.MinecraftServer.c(SourceFile: 129)
    at net.minecraft.server.MinecraftServer.run(SourceFil e:263)
    at bj.run(SourceFile:394)
    Posted in: Server Support and Administration
  • 0

    posted a message on HOW-TO: Run a server on Amazon EC2
    Hi there,
    I have been trying desperately to get the MAKE command to work. I'm on an EC2 micro server, and experiencing the same cpu-throttling lag spikes mentioned above. I cannot install cpulimit of the life of me, because I can't get make to work on the source. I have installed all the gcc files, using "sudo yum install gcc*", as well as "sudo yum groupinstall "development libraries""
    I'm getting nothing. Argh! Anyone have any tips on how to get MAKE on an EC2 micro server?
    Or an alternative way of getting CPU limit?

    thank you!
    Posted in: Server Support and Administration
  • 0

    posted a message on Minecraft server on AppleTV2 (Java 1.5)
    I know it sounds low, but I think it should be enough. I've never seen my server use above 75-80 mb of memory (usually 3 players in game at most)
    Posted in: Server Support and Administration
  • 0

    posted a message on Minecraft server on AppleTV2 (Java 1.5)
    Hi there everyone,
    I am trying to get my minecraft server running on my always-on AppleTV2. It's restrictive on RAM, but we'll see how it runs anyway... once I get it running. The AppleTV only has Java 1.5 installed. I saw in the new 1.3 update that dependencies to java 1.6 were removed, meaning it is compatible with Java 1.5 now. Do these changes apply to the server too? I downloaded the newest server and transfered it to the apple tv. When executing with 128M of ram, it complains about dependencies and does not run, just like the old versions. I'm hoping this just mean the dependencies haven't been removed yet for the server? Otherwise, I don't know what's wrong. I don't know to update java on the AppleTV and I fear that might be too difficult.

    So, does anyone know if the 1.6 dependencies are removed from the server.jar like they are with the client? And if not, when will they be?
    Thanks!


    This is the output from another member on http://www.hackint0sh.org/f286/222412.htm#post727432forum trying to do the same thing as me, this time by extracting the .jar file first:
    Apple-TV $ unzip minecraft_server.jar -d minecraft
    Apple-TV $ cd minecraft
    Apple-TV:minecraft $ java -Xmx128M -Xms128M net.minecraft.server.MinecraftServer nogui
    2011-02-23 10:30:03 [INFO] Starting minecraft server version Beta 1.3
    2011-02-23 10:30:03 [WARNING] **** NOT ENOUGH RAM!
    2011-02-23 10:30:03 [WARNING] To start the server with more ram, launch it as "java -Xmx1024M -Xms1024M -jar minecraft_server.jar"
    2011-02-23 10:30:03 [INFO] Loading properties
    2011-02-23 10:30:03 [WARNING] server.properties does not exist
    2011-02-23 10:30:03 [INFO] Generating new properties file
    2011-02-23 10:30:03 [INFO] Starting Minecraft server on *:25565
    java.lang.NoSuchMethodError: setPerformancePreferences
    at cc.<init>(SourceFile:25)
    at net.minecraft.server.MinecraftServer.d(SourceFile: 112)
    at net.minecraft.server.MinecraftServer.run(SourceFil e:237)
    at bc.run(SourceFile:366)
    2011-02-23 10:30:03 [SEVERE] Unexpected exception
    java.lang.NoSuchMethodError: setPerformancePreferences
    at cc.<init>(SourceFile:25)
    at net.minecraft.server.MinecraftServer.d(SourceFile: 112)
    at net.minecraft.server.MinecraftServer.run(SourceFil e:237)
    at bc.run(SourceFile:366)

    Apple-TV:minecraft $ cd ..
    Apple-TV: $ java -Xmx128M -Xms128M -jar minecraft_server.jar nogui
    java.lang.NoClassDefFoundError: cm
    at java.lang.VMClass.getDeclaredMethods(Native Method)
    at java.lang.Class.getDeclaredMethods(Class.java:536)
    at java.lang.Class.internalGetMethod(Class.java:722)
    at java.lang.Class.getMethod(Class.java:710)
    at jamvm.java.lang.JarLauncher.main(JarLauncher.java: 47)
    Caused by: java.lang.ClassNotFoundException: cm not found in java.lang.ClassLoader$1{urls=[file], parent=null}
    at java.net.URLClassLoader.findClass(URLClassLoader.j ava:626)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:3 41)
    at java.lang.ClassLoader$1.loadClass(ClassLoader.java :1112)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:2 93)
    at java.lang.VMClass.getDeclaredMethods(Native Method)
    ...4 more
    Caused by: java.util.zip.ZipException: Code lengths don't add up properly.
    at java.util.zip.InflaterInputStream.read(InflaterInp utStream.java:200)
    at java.io.FilterInputStream.read(FilterInputStream.j ava:189)
    at java.util.jar.JarFile$EntryInputStream.read(JarFil e.java:912)
    at java.net.URLClassLoader.findClass(URLClassLoader.j ava:548)
    ...8 more

    So as you can see by extracting the classes it got at least a bit further before crashing fatally.
    My Java VM:

    $ java -version
    java version "1.5.0"
    JamVM version 1.5.1
    Copyright (C) 2003-2008 Robert Lougher <[email protected]>
    Posted in: Server Support and Administration
  • To post a comment, please .