Exception in thread "main" java.lang.NoSuchMethodError: method java.util.Properties.load with signature (Ljava.io.Reader;)V was not found.
at com.mojang.minecraft.server.MinecraftServer.(Unknown Source)
at com.mojang.minecraft.server.MinecraftServer.main(Unknown Source)
I'm trying to start my server using the nohup command, but it keeps telling me that it cannot run command 'java': No such file or directory.
I had to download 'jre-6u18-linux-1586.bin' from Java's website, upload it to mediafire then use 'wget' to get that onto the VPS, then installed that, and that all seemed to work.
Sorry about that guys, I canceled that server and forgot I had that on there. This will never be down, and will always be up to date. You can get it here:
I plan on using Dreamhost for my VPS to run dedicated server. They charge $1 per 10MB of memory.
How much memory estimated will the minecraft server use?
Will Java on a linux based OS use less than a windows OS?
I'd like to know this too, I've been running a minecraft server on a VPS for about a week. I can't seem to find any good rule of thumb for how much memory is needed per player on the server, it seems to just jump around randomly. (I don't mean like jump around as in background tasks needing ram for a few seconds, I mean like it seems to change for 5 minutes then drop down for a few minutes then jump up again)
It seems to be somehow linked to the number of players online at a time but nothing clear.
I've also noticed that the memory java uses seems to have grown over time, I noticed this happened on windows too but I assumed that was because the server log was being kept in ram somewhere. I noticed the nohup command appends the console output into a nohup.out file, does it write straight to there or does it keep the console output in ram somewhere too?
If so is there some way to get minecraft to just write to the server log instead of giving a console output?
The official minecraft vanilla server uses ram based upon how many players are present on the map and joining it, the map size, and the chunk updates at the time.
Rollback Post to RevisionRollBack
Remember that even old echoes can create new harmonies.
Who sits down and writes maniacle laughter?
When I get to 'nohup java -cp minecraft-server.jar com.mojang.minecraft.server.MinecraftServer'
I get
nohup: appending output to `nohup.out'
nohup: cannot run command `java': No such file or directory
also nano refuses to work no such command I am running Centos 5
Have you downloaded the java.bin file and run it? If so you may need to give the folder that java has been put.
I personally have to enter "nohup ../../jre1.6.0_18/bin/java -cp minecraft-server.jar com.mojang.minecraft.server.MinecraftServer"
On another note, when I try to connect to my server it seems to take a very long time to download the map and during this time it almost hangs the browser. I'm pretty sure it's just my server, I've played on other peoples servers and they seem to have loaded fine fo me. I thought maybe it could be the map somehow became gigantic, but after backing up and deleting the map and the server log it still does it. Does anyone have an idea of what's happened? Am I somehow running an old copy of the server and it's causing some conflict with the current client?
Okay, in hopes of killing off what seems to be a possible flame war I'd like to clear up what I think is a common misunderstanding.
The software offered on the multiplayer page (ie. minecraft-server.zip) is just server software.
A dedicated server is a computer specifically set up to run server software.
If you want to run a minecraft server from a windows desktop just unzip and double click the "start server.bat" (assuming you've got java correctly installed and configured (note: just because you can PLAY minecraft in your browser DOES NOT mean you've got java set up to run from the command prompt)) and a command window will pop up telling you what is going on. As long as that window stays open the server is running (you can minimise it if you want).
If you have purchased a VPS then this guide is for you, if you have set up a physical server in your house this guide can be helpful too.
Although I don't want a flame war to break out again I need to say some things:
To Canadian_x360:
o Software Engineering is very different from server administration (I'm sure you know this already, I just wanted to make sure)
o This is very different from buying a prehosted server from a third party, you need to be able to manage a linux server yourself from a command line.
o A VPN is a Virtual Private Network, a VPS is a Virtual Private Server. One is a way of creating a secure network that operates across another network (often the internet), the other is a virtualised server which is often leased from a third party.
o I have to agree with criticsquid, in this instance there would be very little reason to add screenshots to this tutorial as almost everything is done in a command line.
o When connecting through SSH you only need to define the server IP, the server then responds to the IP that attempted to contact it. Much like most networking protocols, the computer initiating the link includes in a packet how to contact it back.
I would also like to mention that this is the first time I have ever owned a VPS or infact and form of hosting, I have however set up a couple of Linux and BSD servers in my house over the past few years. None of them lasted very long because I had nothing to do with them. This may be the reason that I found this tutorial simple and easy to follow.
To criticsquid:
o Please don't out right call someone stupid because they didn't understand a guide. I know the demands Canadian_x360 put forward were kind of extreme but that's no reason to do that.
o Please don't fan the flames on something like this. I know you were helping, but it seems like you were doing it in the more derisive way possible.
o Some of your posts seemed pretty inflammatory, again I know Canadian_x360 kind of started it but I kind of thought as a moderator you'd know how to deal with people getting upset at you.
Now if you all don't mind, I'll get off my high horse :laugh.gif:
Isythos:
I'm not sure what's going on, are you loading it into the same directory you have the minecraft server installed in? If nothing changes when you delete the map, and restart the server you may not be deleting the server_level.dat from the right place.
By the way, I think to install python on a CentOS VPS you run "yum install pythonX.X" (where X.X is the version number you want to install).
To criticsquid:
o Please don't out right call someone stupid because they didn't understand a guide. I know the demands Canadian_x360 put forward were kind of extreme but that's no reason to do that.
o Please don't fan the flames on something like this. I know you were helping, but it seems like you were doing it in the more derisive way possible.
o Some of your posts seemed pretty inflammatory, again I know Canadian_x360 kind of started it but I kind of thought as a moderator you'd know how to deal with people getting upset at you.
It's citric, not critic.
1. He's not stupid for not understanding the guide, he's stupid for demanding I change it to incorporate pictures when he could have done some research, asked for clarification or even read it again. It's not a hard guide to follow, but not understanding it is fine, being unwilling to try and understand it makes him stupid.
Quote from is0lated »
o Some of your posts seemed pretty inflammatory, again I know Canadian_x360 kind of started it but I kind of thought as a moderator you'd know how to deal with people getting upset at you.
I'm hardly a moderator, I don't moderate, I just happen to have founded this forum and remain an admin, I don't have any responsibilities here, I'm just an ordinary member who happens to be able to ban people.
Canadian_x360a, you're being annoying, knock it off. It wouldn't hurt you to research things a bit before adding in commentaries, and there's nothing against posting questions about a subject as (coincidentally?) everyone else has done and done so more effectively than you have, in which you're just being cocky yourself the first moments you entered this thread. And if citric can't assist you, go ask someone else, and do so nicely. I really don't care that you're going back to another forum and staying here; if you're waving that around as a threat, nice try, but you will not be missed, as this is the internet, and most don't generally care where you go or how you do it.
Citric, I know you have the tendency to get angry at people for doing things, but please, try not and get so riled up at times over nothing; if someone isn't getting your points, ignore them and rant about it elsewhere, or vent it out to someone or something. Disagreements like these lead to flame wars that eventually get people banned, and it's unproductive. You're better than that, and I know it.
So yeah, I'll be killing off these posts and pretending they never happened.
You lost me, is this talking about how to host a server from a 3rd party computer? I wanna know before I commit.
Rollback Post to RevisionRollBack
Quote from Demoburd »
How to feel cool on Minecraft forums:
>New Feature is announced
>Begin claiming it ruins the game "MINECRAFT ISN'T A BED/DOG/HAVING FUN SIMULATOR, IT'S ABOUT STANDING IN YOUR HOUSE WITH NOTHING TO DO ALL DAY REMOVE EVERY FEATURE GUH"
I tried setting putty up, and inputting my IP address, but there's nowhere for username/password on there. When I click 'open' it just says 'connection refused.' picture of 'settings'
The red arrow points to the number series I use. I don't know if I should choose a different circle than the one marked, and don't know if I should change the port number.
Hi! So, I was wondering; I've decided to go with VPSLink for my hosting, and I was wondering what the best package might be; I was hoping to be able to use just Link 1, however I sense that I may need more. Could anyone advise me as to which link I should use?
nohup: appending output to `nohup.out'
nohup: cannot run command `java': No such file or directory
Get this when I try and use nohup.
Any suggestions?
(Java installed in a directory named jre1.6.0_20, but when I substitute that for java I get the same error)
Edit: Alright, obviously I'm supposed to substitute "java" with the file path. What am I trying to execute here? I have no idea where I should point nohup to. jre1.6.0_20/ ?????
Edit again: Talked to citricsquid about this, apparently just doing java should work fine, as its an installed program. However it doesn't. Working on finding solution. (reinstalling etc)
nohup: appending output to `nohup.out'
nohup: cannot run command `java': No such file or directory
Get this when I try and use nohup.
Any suggestions?
(Java installed in a directory named jre1.6.0_20, but when I substitute that for java I get the same error)
Edit: Alright, obviously I'm supposed to substitute "java" with the file path. What am I trying to execute here? I have no idea where I should point nohup to. jre1.6.0_20/ ?????
Edit again: Talked to citricsquid about this, apparently just doing java should work fine, as its an installed program. However it doesn't. Working on finding solution. (reinstalling etc)
I don't think I ever got it to work with just java. I had to run it directly from the folder.
For me it was in
"nohup /usr/lib/jre1.6.0_21/bin/java -cp minecraft-server.jar com.mojang.minecraft.server.MinecraftServer"
Or something like that. I had copied the jre1.6.0_21 to /usr/lib/ so for you that part will probably be different. The jre1.6.0_21 will also be different for you because you're using a different version to me.
I hope this helps.
EDIT:
Rubrica:
I don't think that system will have enough ram for the server. Mine has 128mb and when I ran my server on it with default settings the memory was quite often almost maxed out. But I think you might be able to lower the amount of RAM needed by lowering the max number of players on your server and shrinking the map size. I'm not really sure how to make a smaller map, I think you'd have to modify it in something. The max player count is in the server.properties file.
MCSharp wont run natively on CentOS. Though you might be able to get it running through Wine. I'm not sure how much, if any, extra RAM Wine needs to run.
I followed all the steps as described but get the following :
Exception in thread "main" java.lang.ClassFormatError: com.mojang.minecraft.server.MinecraftServer (unrecognized class file version)
at java.lang.VMClassLoader.defineClass(libgcj.so.7rh)raftServer
at java.lang.ClassLoader.defineClass(libgcj.so.7rh) nohup java -cp minecraft-s
at java.security.SecureClassLoader.defineClass(libgcj.so.7rh)
at java.net.URLClassLoader.findClass(libgcj.so.7rh)
at java.lang.ClassLoader.loadClass(libgcj.so.7rh)
at java.lang.ClassLoader.loadClass(libgcj.so.7rh)
at gnu.java.lang.MainThread.run(libgcj.so.7rh)
I want to make a dedicated server on my debian server and when I start the minecraft server, I have an error :
serveur:~/minecraft/one# java -cp minecraft-server.jar com.mojang.minecraft.server.MinecraftServer
Exception in thread "main" java.lang.NoSuchMethodError: method java.util.Properties.load with signature (Ljava.io.Reader;)V was not found.
at com.mojang.minecraft.server.MinecraftServer.(Unknown Source)
at com.mojang.minecraft.server.MinecraftServer.main(Unknown Source)
Someone have a solution ?
Thanks !
I had to download 'jre-6u18-linux-1586.bin' from Java's website, upload it to mediafire then use 'wget' to get that onto the VPS, then installed that, and that all seemed to work.
Any idea why it's telling me it doesn't exist?
http://www.thatgamer.com/mc/java.bin
Version 6 Update 21 - July 26, 2010
I'd like to know this too, I've been running a minecraft server on a VPS for about a week. I can't seem to find any good rule of thumb for how much memory is needed per player on the server, it seems to just jump around randomly. (I don't mean like jump around as in background tasks needing ram for a few seconds, I mean like it seems to change for 5 minutes then drop down for a few minutes then jump up again)
It seems to be somehow linked to the number of players online at a time but nothing clear.
I've also noticed that the memory java uses seems to have grown over time, I noticed this happened on windows too but I assumed that was because the server log was being kept in ram somewhere. I noticed the nohup command appends the console output into a nohup.out file, does it write straight to there or does it keep the console output in ram somewhere too?
If so is there some way to get minecraft to just write to the server log instead of giving a console output?
Who sits down and writes maniacle laughter?
Have you downloaded the java.bin file and run it? If so you may need to give the folder that java has been put.
I personally have to enter "nohup ../../jre1.6.0_18/bin/java -cp minecraft-server.jar com.mojang.minecraft.server.MinecraftServer"
On another note, when I try to connect to my server it seems to take a very long time to download the map and during this time it almost hangs the browser. I'm pretty sure it's just my server, I've played on other peoples servers and they seem to have loaded fine fo me. I thought maybe it could be the map somehow became gigantic, but after backing up and deleting the map and the server log it still does it. Does anyone have an idea of what's happened? Am I somehow running an old copy of the server and it's causing some conflict with the current client?
on-topic:
i find this guide useful, it explains alot :smile.gif:
The software offered on the multiplayer page (ie. minecraft-server.zip) is just server software.
A dedicated server is a computer specifically set up to run server software.
If you want to run a minecraft server from a windows desktop just unzip and double click the "start server.bat" (assuming you've got java correctly installed and configured (note: just because you can PLAY minecraft in your browser DOES NOT mean you've got java set up to run from the command prompt)) and a command window will pop up telling you what is going on. As long as that window stays open the server is running (you can minimise it if you want).
If you have purchased a VPS then this guide is for you, if you have set up a physical server in your house this guide can be helpful too.
Although I don't want a flame war to break out again I need to say some things:
To Canadian_x360:
o Software Engineering is very different from server administration (I'm sure you know this already, I just wanted to make sure)
o This is very different from buying a prehosted server from a third party, you need to be able to manage a linux server yourself from a command line.
o A VPN is a Virtual Private Network, a VPS is a Virtual Private Server. One is a way of creating a secure network that operates across another network (often the internet), the other is a virtualised server which is often leased from a third party.
o I have to agree with criticsquid, in this instance there would be very little reason to add screenshots to this tutorial as almost everything is done in a command line.
o When connecting through SSH you only need to define the server IP, the server then responds to the IP that attempted to contact it. Much like most networking protocols, the computer initiating the link includes in a packet how to contact it back.
I would also like to mention that this is the first time I have ever owned a VPS or infact and form of hosting, I have however set up a couple of Linux and BSD servers in my house over the past few years. None of them lasted very long because I had nothing to do with them. This may be the reason that I found this tutorial simple and easy to follow.
To criticsquid:
o Please don't out right call someone stupid because they didn't understand a guide. I know the demands Canadian_x360 put forward were kind of extreme but that's no reason to do that.
o Please don't fan the flames on something like this. I know you were helping, but it seems like you were doing it in the more derisive way possible.
o Some of your posts seemed pretty inflammatory, again I know Canadian_x360 kind of started it but I kind of thought as a moderator you'd know how to deal with people getting upset at you.
Now if you all don't mind, I'll get off my high horse :laugh.gif:
Isythos:
I'm not sure what's going on, are you loading it into the same directory you have the minecraft server installed in? If nothing changes when you delete the map, and restart the server you may not be deleting the server_level.dat from the right place.
By the way, I think to install python on a CentOS VPS you run "yum install pythonX.X" (where X.X is the version number you want to install).
It's citric, not critic.
1. He's not stupid for not understanding the guide, he's stupid for demanding I change it to incorporate pictures when he could have done some research, asked for clarification or even read it again. It's not a hard guide to follow, but not understanding it is fine, being unwilling to try and understand it makes him stupid.
I'm hardly a moderator, I don't moderate, I just happen to have founded this forum and remain an admin, I don't have any responsibilities here, I'm just an ordinary member who happens to be able to ban people.
Canadian_x360a, you're being annoying, knock it off. It wouldn't hurt you to research things a bit before adding in commentaries, and there's nothing against posting questions about a subject as (coincidentally?) everyone else has done and done so more effectively than you have, in which you're just being cocky yourself the first moments you entered this thread. And if citric can't assist you, go ask someone else, and do so nicely. I really don't care that you're going back to another forum and staying here; if you're waving that around as a threat, nice try, but you will not be missed, as this is the internet, and most don't generally care where you go or how you do it.
Citric, I know you have the tendency to get angry at people for doing things, but please, try not and get so riled up at times over nothing; if someone isn't getting your points, ignore them and rant about it elsewhere, or vent it out to someone or something. Disagreements like these lead to flame wars that eventually get people banned, and it's unproductive. You're better than that, and I know it.
So yeah, I'll be killing off these posts and pretending they never happened.
picture of 'settings'
The red arrow points to the number series I use. I don't know if I should choose a different circle than the one marked, and don't know if I should change the port number.
Also, what does "VPS" stand for?
Also, can CentOS run MCSharp? Thanks.
Get this when I try and use nohup.
Any suggestions?
(Java installed in a directory named jre1.6.0_20, but when I substitute that for java I get the same error)
Edit: Alright, obviously I'm supposed to substitute "java" with the file path. What am I trying to execute here? I have no idea where I should point nohup to. jre1.6.0_20/ ?????
Edit again: Talked to citricsquid about this, apparently just doing java should work fine, as its an installed program. However it doesn't. Working on finding solution. (reinstalling etc)
I don't think I ever got it to work with just java. I had to run it directly from the folder.
For me it was in
"nohup /usr/lib/jre1.6.0_21/bin/java -cp minecraft-server.jar com.mojang.minecraft.server.MinecraftServer"
Or something like that. I had copied the jre1.6.0_21 to /usr/lib/ so for you that part will probably be different. The jre1.6.0_21 will also be different for you because you're using a different version to me.
I hope this helps.
EDIT:
Rubrica:
I don't think that system will have enough ram for the server. Mine has 128mb and when I ran my server on it with default settings the memory was quite often almost maxed out. But I think you might be able to lower the amount of RAM needed by lowering the max number of players on your server and shrinking the map size. I'm not really sure how to make a smaller map, I think you'd have to modify it in something. The max player count is in the server.properties file.
MCSharp wont run natively on CentOS. Though you might be able to get it running through Wine. I'm not sure how much, if any, extra RAM Wine needs to run.
This is what I get when I use that command
Flushing firewall rules: [ OK ]
Setting chains to policy ACCEPT: security raw nat mangle fi[FAILED]
Unloading iptables modules: [ OK ]
Good luck :tongue.gif:
(ps: for me it's work !)
Exception in thread "main" java.lang.ClassFormatError: com.mojang.minecraft.server.MinecraftServer (unrecognized class file version)
at java.lang.VMClassLoader.defineClass(libgcj.so.7rh)raftServer
at java.lang.ClassLoader.defineClass(libgcj.so.7rh) nohup java -cp minecraft-s
at java.security.SecureClassLoader.defineClass(libgcj.so.7rh)
at java.net.URLClassLoader.findClass(libgcj.so.7rh)
at java.lang.ClassLoader.loadClass(libgcj.so.7rh)
at java.lang.ClassLoader.loadClass(libgcj.so.7rh)
at gnu.java.lang.MainThread.run(libgcj.so.7rh)
Any Assistance is appreciated