Page 1 of 1

Installation from sources.

Posted: Wed May 25, 2011 8:23 pm
by naquad
L2J Revision Number: 4637
L2JDP Revision Number: 8025
OS: Arch Linux x86_64

I'm trying to build & install server from SVN, but after building in dist dir (where I also put datapack build results) I'm getting following error:

Code: Select all

Exception in thread "main" java.lang.NoClassDefFoundError: com/l2jserver/loginserver/L2LoginServerCaused by: java.lang.ClassNotFoundException: com.l2jserver.loginserver.L2LoginServer    at java.net.URLClassLoader$1.run(URLClassLoader.java:217)    at java.security.AccessController.doPrivileged(Native Method)    at java.net.URLClassLoader.findClass(URLClassLoader.java:205)    at java.lang.ClassLoader.loadClass(ClassLoader.java:321)    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)    at java.lang.ClassLoader.loadClass(ClassLoader.java:266)Could not find the main class: com.l2jserver.loginserver.L2LoginServer. Program will exit. 
What am I doing wrong and where can I find up-to-date complete manual on server building & installation(wiki page is outdated and doesn't describe whole process, for people w/o Java based software deployment thats an issue) ?

Thank you.

Re: Installation from sources.

Posted: Wed May 25, 2011 8:42 pm
by hope
looks like you have not downloaded all files try again
viewtopic.php?f=2&t=10719
make sure you follow all parts of it

Re: Installation from sources.

Posted: Wed May 25, 2011 9:00 pm
by naquad
hope wrote:looks like you have not downloaded all files try again
viewtopic.php?f=2&t=10719
make sure you follow all parts of it
I've got all parts. I don't know how to put it all together (from dist, build and other folders).

Re: Installation from sources.

Posted: Thu May 26, 2011 6:52 am
by hope
make a folder call it server unzip your community files into first then server files will ask you to over write say yes to all then unzip data pack into same folder

Re: Installation from sources.

Posted: Thu May 26, 2011 3:31 pm
by naquad
hope wrote:make a folder call it server unzip your community files into first then server files will ask you to over write say yes to all then unzip data pack into same folder
I'm not using zip archives, idea is to install server from sources.

Re: Installation from sources.

Posted: Thu May 26, 2011 4:35 pm
by jurchiks
when you compile the sources it makes a zip archive with ready to use compiled files... what have you been doing until now?

Re: Installation from sources.

Posted: Thu May 26, 2011 4:49 pm
by naquad
jurchiks wrote:when you compile the sources it makes a zip archive with ready to use compiled files... what have you been doing until now?
crap... i've been using dist directories...

Thanks, went installing it again.