Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

MapleStory Private Server on Linux

Status
Not open for further replies.
Experienced Elementalist
Joined
Dec 22, 2008
Messages
215
Reaction score
31
I decided to try arberms2 tutorial as seen as a starting point and from there to know enough to use it on any source.

But when I run launch_world.sh I get:


I have a feeling like it has something to do with compiling a jar or something which I didn't do, but I don't know how it can be fixed.

All help with how to solve this will be very appreciated.

Thanks.
Looks like your forgot to copy the jars to jdk_xxx/jre/lib/ext

E: Make sure you get the jdk from
don't use apt/yum to install jdk. (or whatever you're using)
 
Last edited:
Experienced Elementalist
Joined
Jul 8, 2008
Messages
297
Reaction score
126
I'd also like to add that a reason why some people don't use Linux for servers is because there isn't a guide in the Tutorial section; except a very outdated one that was out when OdinRev988 was popular :0

Please correct me if I'm wrong, I don't come here often :(
 
Banned
Banned
Joined
Jul 10, 2011
Messages
284
Reaction score
65
Linux servers are also much cheaper than Windows servers!

Not always. And you should never trust a company that sells a Linux Server for 10~50$ cheaper than a windows one. It shows how little work they've done to the linux core.
 
Experienced Elementalist
Joined
Dec 22, 2008
Messages
215
Reaction score
31
Not always. And you should never trust a company that sells a Linux Server for 10~50$ cheaper than a windows one. It shows how little work they've done to the linux core.

Usually linux servers are cheaper because some hosts charge a 15$-30$ fee for the windows license.

It's probably best to google for reviews and stuff before buying one.
(another useful place is )

What do you mean with "linux core"?
 
Newbie Spellweaver
Joined
Jun 28, 2008
Messages
67
Reaction score
1
Usually linux servers are cheaper because some hosts charge a 15$-30$ fee for the windows license.

It's probably best to google for reviews and stuff before buying one.
(another useful place is )

What do you mean with "linux core"?
A VPS is the one thing I probably wont have a problem with, thanks.

Not always. And you should never trust a company that sells a Linux Server for 10~50$ cheaper than a windows one. It shows how little work they've done to the linux core.
Who said I want them to touch my Linux core? When I order CentOS, I want CentOS and not a modified CentOS that might not be so stable...

I'd also like to add that a reason why some people don't use Linux for servers is because there isn't a guide in the Tutorial section; except a very outdated one that was out when OdinRev988 was popular :0

Please correct me if I'm wrong, I don't come here often :(
Couldn't agree more...
Looks like your forgot to copy the jars to jdk_xxx/jre/lib/ext

E: Make sure you get the jdk from
don't use apt/yum to install jdk. (or whatever you're using)
Thanks, I tried it and got:
Code:
[root@localhost ~]# ./create_server_linux.sh
Exception in thread "main" java.lang.NoClassDefFoundError: net.WorldServer
   at gnu.java.lang.MainThread.run(libgcj.so.10)
Caused by: java.lang.ClassNotFoundException: net.WorldServer not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:./], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
   at java.net.URLClassLoader.findClass(libgcj.so.10)
   at java.lang.ClassLoader.loadClass(libgcj.so.10)
   at java.lang.ClassLoader.loadClass(libgcj.so.10)
   at gnu.java.lang.MainThread.run(libgcj.so.10)

Any ideas? :(
 
Last edited:
Experienced Elementalist
Joined
Dec 22, 2008
Messages
215
Reaction score
31
A VPS is the one thing I probably wont have a problem with, thanks.


Who said I want them to touch my Linux core? When I order CentOS, I want CentOS and not a modified CentOS that might not be so stable...


Couldn't agree more...

Thanks, I tried it and got:
Code:
[root@localhost ~]# ./create_server_linux.sh
Exception in thread "main" java.lang.NoClassDefFoundError: net.WorldServer
   at gnu.java.lang.MainThread.run(libgcj.so.10)
Caused by: java.lang.ClassNotFoundException: net.WorldServer not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:./], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
   at java.net.URLClassLoader.findClass(libgcj.so.10)
   at java.lang.ClassLoader.loadClass(libgcj.so.10)
   at java.lang.ClassLoader.loadClass(libgcj.so.10)
   at gnu.java.lang.MainThread.run(libgcj.so.10)

Any ideas? :(
Code:
found in gnu.gcj.runtime.SystemClassLoader{urls=[file:./],
you're using GCJ instead of sun java, check your PATH's / remove GCJ.
not sure where that stuff is in centos since I prefer ubuntu server.

( )
 
Newbie Spellweaver
Joined
Jun 28, 2008
Messages
67
Reaction score
1
Code:
found in gnu.gcj.runtime.SystemClassLoader{urls=[file:./],
you're using GCJ instead of sun java, check your PATH's / remove GCJ.
not sure where that stuff is in centos since I prefer ubuntu server.

( )
Done that but now:
Code:
Exception in thread "main" java.lang.NoClassDefFoundError: net/WorldServer
Caused by: java.lang.ClassNotFoundException: net.WorldServer
        at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Could not find the main class: net.WorldServer.  Program will exit.

What am I missing? :(
 
Experienced Elementalist
Joined
Dec 22, 2008
Messages
215
Reaction score
31
Done that but now:
Code:
Exception in thread "main" java.lang.NoClassDefFoundError: net/WorldServer
Caused by: java.lang.ClassNotFoundException: net.WorldServer
        at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Could not find the main class: net.WorldServer.  Program will exit.

What am I missing? :(
Did you put the jar files to ext folder and do you have the src folder on the host?
also post the .sh files and your src or the repack or whatever you used.
 
Joined
Jul 12, 2011
Messages
1,229
Reaction score
475
Did you put the jar files to ext folder and do you have the src folder on the host?
also post the .sh files and your src or the repack or whatever you used.

I think I'm getting the same error,
Code:
: command not foundline 1:
: command not foundline 2: dist*
Exception in thread "main" java.lang.NoClassDefFoundError: net/world/WorldServer
Caused by: java.lang.ClassNotFoundException: net.world.WorldServer
        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:321)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
. Program will exit.ain class: net.world.WorldServer
What jars do I need to put in the ext folder?
 
Status
Not open for further replies.
Back
Top