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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock