Jump to content
  • 0

[Help]L2J Archid LS on linux


Question

Posted

How do i run archid loginserver on linux? When i try to run it i get this error:

Exception in thread "main" java.lang.NoClassDefFoundError: com/l2jarchid/gameserver/L2GameServer
Caused by: java.lang.ClassNotFoundException: com.l2jarchid.gameserver.L2GameServer
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: com.l2jarchid.gameserver.L2GameServer.  Program will exit.

If anybody knows solution please post it here because i already have to launch live server!

P.S I think something is wrong with LoginServer_loop.sh

#!/bin/bash

err=1
until [ $err == 0 ]; 
do
. ./classpath.sh
[ -f log/stdout.log ] && mv log/stdout.log "log/stdout/`date +%Y-%m-%d_%H-%M-%S`_stdout.log"
# For developers mostly (1. line gc logrotate, 2. line parameters for gc logging) :
#	[ -f log/gc.log ] && mv log/gc.log "log/gc/`date +%Y-%m-%d_%H-%M-%S`_gc.log"
#	-verbose:gc -Xloggc:log/gc.log -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+PrintHeapAtGC -XX:+PrintTenuringDistribution
java -Xmx1024m com.l2jarchid.gameserver.L2GameServer > log/stdout/stdout.log 2>&1
err=$?
sleep 10;
done

Tried changing

java -Xmx1024m com.l2jarchid.gameserver.L2GameServer > log/stdout/stdout.log 2>&1

to

java -Xmx64m com.l2jarchid.loginserver.L2LoginServer > log/stdout/stdout.log 2>&1

but it didn't start anyway.

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...