Installation from sources.

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
naquad
Posts: 8
Joined: Mon May 23, 2011 8:10 pm

Installation from sources.

Post 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.
hope
Posts: 1160
Joined: Thu Aug 30, 2007 5:17 pm

Re: Installation from sources.

Post 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
naquad
Posts: 8
Joined: Mon May 23, 2011 8:10 pm

Re: Installation from sources.

Post 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).
hope
Posts: 1160
Joined: Thu Aug 30, 2007 5:17 pm

Re: Installation from sources.

Post 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
naquad
Posts: 8
Joined: Mon May 23, 2011 8:10 pm

Re: Installation from sources.

Post 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.
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: Installation from sources.

Post 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?
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
naquad
Posts: 8
Joined: Mon May 23, 2011 8:10 pm

Re: Installation from sources.

Post 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.
Post Reply