Jump to content
  • 0

l2mythras - A JNI error has occurred


Question

Posted

Hi, When I start gameserver.sh I get this error:

 

Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.NoClassDefFoundError: l2f/gameserver/handler/admincommands/IAdminCommandHandler
    at java.lang.Class.getDeclaredMethods0(Native Method)
    at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
    at java.lang.Class.privateGetMethodRecursive(Class.java:3048)
    at java.lang.Class.getMethod0(Class.java:3018)
    at java.lang.Class.getMethod(Class.java:1784)
    at sun.launcher.LauncherHelper.validateMainClass(LauncherHelper.java:650)
    at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:632)
Caused by: java.lang.ClassNotFoundException: l2f.gameserver.handler.admincommands.IAdminCommandHandler
    at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
    ... 7 more

 

My java/javac version is the same 1.8.0_275.  Login server is working properly.  In windows OS gameserver is working, I have problem on linux.

Help me please !

 

1 answer to this question

Recommended Posts

  • 0
Posted

This error means that the java compiler you used in eclipse is different than the one you use to run the server. Also l2mythras is an ancient fork, i would suggest you to use an active one such as l2j

Guest
This topic is now closed to further replies.


×
×
  • Create New...