L2j on ubuntu linux (server edition) L2J 

Initiate Mage
Joined
Mar 26, 2009
Messages
3
Reaction score
0
So, i try to start linux l2j server, all futures is installed but when i try start login server get this java error:

Code:
Exception in thread "main" java.lang.NoClassDefFoundError: net/sf/l2j/loginserver/LoginServer
Caused by: java.lang.ClassNotFoundException: net.sf.l2j.loginserver.LoginServer
        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
Could not find the main class: net.sf.l2j.loginserver.LoginServer.  Program will exit.

Maybe someone know what is this?
 
do u have the latest sources from l2jserver svn?
 
Upvote 0
hm strange i have them too but not those problems o_O
maybe try login server from l2jfree ( it works with l2jserver i tested it)
 
Upvote 0
don't install java out of the repository... i'm sure you don't got sun java. so go to sun.com and download java newest version JDK. unpack it/install it, add to your path var and there you go...

to test if you not already got sun java run:

java -version

it should look like this:

java version "1.6.0_07"
Java(TM) SE Runtime Environment (build 1.6.0_07-b06)
Java HotSpot(TM) 64-Bit Server VM (build 10.0-b23, mixed mode)

and NOT like:

java version "1.5.0"
gij (GNU libgcj) version 4.3.2

Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 
Upvote 0
I expected the some trouble.

Latest L2J sources.

Java:
java version "1.6.0_17"
Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
Java HotSpot(TM) Client VM (build 14.3-b01, mixed mode, sharing)

Any suggestions?
 
Upvote 0
1) Check that your .sh launcher contains the cmd -cp
2) If you still have such problem, set a evn variable (called CLASSPATH) to the path where the launcher its
3) Ofc, be sure you have all needed jars in your server folder
 
Upvote 0
im gettin some problems with l2j in ubuntu too :/

can not be moved "log / stdout.log"to "log/2011-06-02_03-06-30_stdout.log ': Permission denied

can someone help me? i do it with and root account with a admin account i don't know what else to do.
 
Upvote 0
im gettin some problems with l2j in ubuntu too :/

can not be moved "log / stdout.log"to "log/2011-06-02_03-06-30_stdout.log ': Permission denied

can someone help me? i do it with and root account with a admin account i don't know what else to do.

every time the server restart is auto changes the stdout.log to 2011-06 etc....
 
Upvote 0
Back