Ok so i have a problem running the server on ubuntu.I installed java and everything that's needed for it to run but i keep getting errors.I've tried searching on google for a while but nothing.I want to also mention that it was compiled on windows although i don't think that's a problem.I'm even using the same jdk on ubuntu i used to compile on windows.
So here are the errors with a modification where you see <PATH> it was edited for personal reasons and it's not needed anyway.
GAMESERVER ERROR
Exception in thread "main" java.lang.NoClassDefFoundError: <PATH>
Caused by: java.lang.ClassNotFoundException: <PATH>
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:323)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
Could not find the main class: <PATH> Program will exit.
LOGIN ERROR
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/log4j/Logger
at <PATH>.loginserver.L2LoginServer.<clinit>(L2LoginServer.java:24)
Caused by: java.lang.ClassNotFoundException: org.apache.log4j.Logger
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
... 1 more
if you are selling something, you have to have both updated, right? people see forum first, not website.
if you are selling something, you have to have both updated, right? people see forum first, not website.
⏳ L2Elixir Open Beta goes live in less than 4 hours!
This Saturday, November 15th at 21:00 (UTC +2), the gates open for our biggest testing phase!
🔥 Don’t miss the first 30 minutes — exclusive rewards await!
A special NPC, “The Judge”, will appear in Giran, offering unique bonuses to early participants:
🏅 Open Beta Rewards:
- The first 2 players who talk to The Judge → Premium Account for Launch
- Another 2 random players who interact → Premium Account
- Everyone who speaks to the NPC within the first 30 minutes → Legendary Starter Pack for all characters on launch day (Nov 28th, 2025)
📌 The NPC will spawn exactly at 21:00 (UTC+2).
⏱️ Follow the countdown on our website — the hype is real!
Create your account & download the Updater to be ready!
🔗 https://l2elixir.org/connect/
💬 Discord: https://discord.gg/5ydPHvhbxs
Question
TehJustNoName
Ok so i have a problem running the server on ubuntu.I installed java and everything that's needed for it to run but i keep getting errors.I've tried searching on google for a while but nothing.I want to also mention that it was compiled on windows although i don't think that's a problem.I'm even using the same jdk on ubuntu i used to compile on windows.
So here are the errors with a modification where you see <PATH> it was edited for personal reasons and it's not needed anyway.
GAMESERVER ERROR Exception in thread "main" java.lang.NoClassDefFoundError: <PATH> Caused by: java.lang.ClassNotFoundException: <PATH> 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:323) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294) at java.lang.ClassLoader.loadClass(ClassLoader.java:268) Could not find the main class: <PATH> Program will exit. LOGIN ERROR Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/log4j/Logger at <PATH>.loginserver.L2LoginServer.<clinit>(L2LoginServer.java:24) Caused by: java.lang.ClassNotFoundException: org.apache.log4j.Logger at java.net.URLClassLoader$1.run(URLClassLoader.java:366) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:425) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) ... 1 more10 answers to this question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now