V:\Strategy\Spring>"C:\Program Files (x86)\Java\jre6\bin\java.exe" TASServer -PO
RT 80
Exception in thread "main" java.lang.NoClassDefFoundError: TASServer
Caused by: java.lang.ClassNotFoundException: TASServer
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
Could not find the main class: TASServer. Program will exit.
Trying to run lobby server..
Moderator: Moderators
Trying to run lobby server..
Re: Trying to run lobby server..
ok, extracted the files, how do I specify port and what is the command to run the server.
Re: Trying to run lobby server..
windows or linux?
"server.py" runs the server, "server.py --help" gives you a list of options
"server.py -p 1234"
will probably set the port
"server.py" runs the server, "server.py --help" gives you a list of options
"server.py -p 1234"
will probably set the port
Re: Trying to run lobby server..
You don't need python. Just execute:
Code: Select all
java -jar TASServer.jar
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
Re: Trying to run lobby server..
I believe smoth wants to run uberserver.
Btw aegis, just cause I'm curious... Does uberserver need py 2.6 or does it need 3.x?
On that note it seems that no one uses 3.x and I'm not familiar with python enough to know why.
Edit: NM I just needed to lurk moar - http://wiki.python.org/moin/Python2orPython3
Btw aegis, just cause I'm curious... Does uberserver need py 2.6 or does it need 3.x?
On that note it seems that no one uses 3.x and I'm not familiar with python enough to know why.
Edit: NM I just needed to lurk moar - http://wiki.python.org/moin/Python2orPython3
Re: Trying to run lobby server..
I ran using uber server last night. costed me a bit while I waited on aegis, so it might be a good idea to have both uber server and the old server in the wiki also having a section explaining their usage.
doesn't matter I still got some testing games in last night at the lan party.
doesn't matter I still got some testing games in last night at the lan party.
Re: Trying to run lobby server..
java -jar bla.jar is the standard way to start a java app from the command line. on Windows and Linux, you should be able to just double click the jar if Java is installed. TASServer is still maintained, it is not the old one. if i had server access, new TASServer would have been setup on the official server half a year ago maybe.
just had to be said once, after all the childish bashing by language fan-boys.
just had to be said once, after all the childish bashing by language fan-boys.
Re: Trying to run lobby server..
what bashing? I don't see anything like that in this thread. were posts deleted?
Re: Trying to run lobby server..
I fixed the exe build script in the repo: http://aegis.eat-peet.net/uberserver.exe
Re: Trying to run lobby server..
This is how double click on .jar file behaves under Windows 7. Server is launched but no console is shown because java app was launched by "javaw", not "java". Even when i allowed to show console in Java Control Panel i saw no console. The only way to turn off this server for me is to kill the process from Task Manager.hoijui wrote:java -jar bla.jar is the standard way to start a java app from the command line. on Windows and Linux, you should be able to just double click the jar if Java is installed.
Manual run is much practical for me cause i see useful console info and also can easily turn off server with Ctrl+C command.
Also smoth was trying to run the server manually bypassing custom params.
So, double click of .jar file is lame and not really useful under Windows until some registry tweaks are made.