Hello, I try to install Craftbukkit (B298) on a Debian 5 64 bits. But i have that: Code: root:/home/minecraft# java -Xms512M -Xmx512M -jar craftbukkit.jar nogui 2011-02-10 20:14:16 [INFO] Starting minecraft server version Beta 1.2_01 2011-02-10 20:14:16 [INFO] Loading properties 2011-02-10 20:14:17 [INFO] Starting Minecraft server on *:25567 2011-02-10 20:14:22 [WARNING] **** FAILED TO BIND TO PORT! 2011-02-10 20:14:22 [WARNING] The exception was: java.lang.NoSuchMethodError: method java.net.ServerSocket.setPerformancePreferences with signature (III)V was not found. 2011-02-10 20:14:22 [WARNING] Perhaps a server is already running on that port? root:/home/minecraft# I see this topic : http://www.minecraftforum.net/viewtopic.php?f=1013&t=39541 Code: root:/home/minecraft# java -Djava.net.preferIPv4Stack=true -Djava.net.preferIPv6Addresses=false -Xms512M -Xmx512M -jar craftbukkit.jar nogui 2011-02-10 20:21:21 [INFO] Starting minecraft server version Beta 1.2_01 2011-02-10 20:21:21 [INFO] Loading properties 2011-02-10 20:21:21 [INFO] Starting Minecraft server on *:25567 2011-02-10 20:21:26 [WARNING] **** FAILED TO BIND TO PORT! 2011-02-10 20:21:29 [WARNING] The exception was: java.lang.NoSuchMethodError: method java.net.ServerSocket.setPerformancePreferences with signature (III)V was not found. 2011-02-10 20:21:29 [WARNING] Perhaps a server is already running on that port? Same error on *:25565 , 25566, all... Someone can help me ? Thanx.
That port is probebly allready in use. Try executing: netstat | grep 25567 To see if somthing and what is running on that port. Or just change port in server.properties And ther is something else didi you rebooting the machine?
Or try looking in your top to see if you can find any java processes. killall -9 java should work. Or reboot.
I have found the error, my server use java 1.5 and not the 1.6. If someone has the same problem: Code: update-alternatives --config java Choose /usr/lib/jvm/java-6-sun/jre/bin/java
A google search for "The exception was: java.lang.NoSuchMethodError: method java.net.ServerSocket.setPerformancePreferences with signature (III)V was not found" brought me to this thread. I run CentOS 6.0 (Final) without any mods. Standard repos only include Java 1.5... you want 1.6 as said in this thread. To get this, you want to type in the following command from the command line... Code: yum install java -enablerepo=centosplus It'll update/install 1.6 for you.