Page 1 of 3

Problem with GameServer

Posted: Fri Jul 20, 2012 8:25 am
by Eandy
Hi all. (I using Debian Squeeze, HI5 (l2j) Latest revision)
When I use

Code: Select all

./startGameServer
. Server dont start and in log I have this error:

Code: Select all

Error: Could not find or load main class com.l2jserver.gameserver.GameServer 
Somebody any solution? Thanks :)

Re: Problem with GameServer

Posted: Fri Jul 20, 2012 10:02 am
by Asmodaius
Check this thread :

viewtopic.php?f=82&t=24624

Re: Problem with GameServer

Posted: Fri Jul 20, 2012 5:45 pm
by Eandy
Now I got this problem can somebody help me?

Code: Select all

Exception in thread "main" java.lang.NoClassDefFoundError: com/l2jserver/gameserver/GameServerCaused by: java.lang.ClassNotFoundException: com.l2jserver.gameserver.GameServer    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:306)    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)    at java.lang.ClassLoader.loadClass(ClassLoader.java:247)Could not find the main class: com.l2jserver.gameserver.GameServer.  Program will exit.

Re: Problem with GameServer

Posted: Sat Jul 21, 2012 10:34 am
by Eandy
Can somebody help me please?

Re: Problem with GameServer

Posted: Sat Jul 21, 2012 1:07 pm
by tukune
$ java -version
$ echo $JAVA_HOME

Re: Problem with GameServer

Posted: Sat Jul 21, 2012 1:31 pm
by Eandy
still same

Re: Problem with GameServer

Posted: Sat Jul 21, 2012 1:40 pm
by Asmodaius
IamOR, just told you to check your java files.

The issue here, seems to be, either corrupted jar files, if you have downloaded ready builds or wrong java version, which affects the build compilation, if you are using SVN repositories.

Did you have nightly builds, or you are using Eclipse?

Re: Problem with GameServer

Posted: Sat Jul 21, 2012 1:50 pm
by Eandy
ahh.
I using nightly build.
Java Version 1.0.6

Re: Problem with GameServer

Posted: Sat Jul 21, 2012 2:02 pm
by Asmodaius
Apparently, you do not read forum threads.
Update your java files.

Re: Problem with GameServer

Posted: Sat Jul 21, 2012 2:56 pm
by MELERIX

Re: Problem with GameServer

Posted: Sat Jul 21, 2012 4:08 pm
by Eandy
I am not sure but there is no update to java 1.0.7 on Debian...

Re: Problem with GameServer

Posted: Sat Jul 21, 2012 4:23 pm
by Zoey76

Re: Problem with GameServer

Posted: Sat Jul 21, 2012 5:19 pm
by Eandy
Ok nice, I Installed Java 7. Now I got this error. :?

Code: Select all

java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: Error 23 

Re: Problem with GameServer

Posted: Sat Jul 21, 2012 10:27 pm
by Eandy
Can somebody help me? I want finally run that :?

Re: Problem with GameServer

Posted: Sat Jul 21, 2012 10:29 pm
by MELERIX
Eandy wrote:Can somebody help me? I want finally run that :?
what error you got now ?

did you got an error during build process too ?