Jump to content

Recommended Posts

Posted

Ok i will show you how to  open your Gameserver and Loginserver on linux  (better way)

ok lets  start:

 

first install screen  :

 

apt-get install screen

 

LOGINSERVER

first  open the  terminal  and wrie this:

cd "/server/loginserver"  (you will put  your location)

ok then write this:

java -Djava.util.logging.manager=net.sf.l2j.util.L2LogManager -Xms1024m -Xmx1024m -cp ./../libs/*:l2jserver.jar net.sf.l2j.loginserver.L2LoginServer

 

You  will see  now your loginserver start !  so when  it  done ...  press  ctrl + a + d

 

GAMESERVER

 

now  for gameserver  type:

cd "/server/gameserver"  (you will put  your location)

and then:

java -Djava.util.logging.manager=net.sf.l2j.util.L2LogManager -Xms1024m -Xmx1024m -cp ./../libs/*:l2jserver.jar net.sf.l2j.gameserver.GameServer

 

so when  it done  ....  press  ctrl +a + d

 

I use  net.sf.l2j pack if  you use other  like com.l2jserver  etc!  you will change  the  net.sf.l2j  to  com.l2jserver :)

 

thx  for reading ! 

credits to me!

 

 

NOTE: dont start the server  via gameserver_loop.sh and  LoginServer_loop.sh  (it sux)

 

 

  • 2 weeks later...
Posted

i try to start server with this commands and i get this error

Exception in thread "main" java.lang.NoClassDefFoundError: net/sf/l2j/gameserver
/GameServer
Caused by: java.lang.ClassNotFoundException: net.sf.l2j.gameserver.GameServer
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
Could not find the main class: net.sf.l2j.gameserver.GameServer.  Program will exit.

Posted

i try to start server with this commands and i get this error

Exception in thread "main" java.lang.NoClassDefFoundError: net/sf/l2j/gameserver
/GameServer
Caused by: java.lang.ClassNotFoundException: net.sf.l2j.gameserver.GameServer
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
Could not find the main class: net.sf.l2j.gameserver.GameServer.  Program will exit.

It Can't Find the GS
Posted

my pack is L2jServer Rev 6395

 

you  have to use this for loginserver

 

java -Djava.util.logging.manager=com.l2jserver.util.L2LogManager -Xms1024m -Xmx1024m -cp ./../libs/*:l2jserver.jar com.l2jserver.loginserver.L2LoginServer

 

and this for gameserver

 

java -Djava.util.logging.manager=com.l2jserver.util.L2LogManager -Xms1024m -Xmx1024m -cp ./../libs/*:l2jserver.jar com.l2jserver.gameserver.GameServer

 

Posted

same error ...

 

i open LoginServer_loop.sh and i found this code..

nice -n -2 java -Xmx128m -cp ./../libs/*:l2jserver.jar net.sf.l2j.loginserver.L2LoginServer > log/stdout.log 2>&1

 

maybe it's correct net.sf.l2j..woff..i hate linux..

Posted

nice and helpful for newbie..! very nice Silver!

 

thank you!

 

same error ...

 

i open LoginServer_loop.sh and i found this code..

nice -n -2 java -Xmx128m -cp ./../libs/*:l2jserver.jar net.sf.l2j.loginserver.L2LoginServer > log/stdout.log 2>&1

 

maybe it's correct net.sf.l2j..woff..i hate linux..

 

you have dedicated or Full linux  OS ?

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
Reply to this topic...

×   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.



  • Posts

    • The Time Has Come!    Tomorrow, L2DoubleDamage officially launches! Get ready for epic PvP battles, legendary rewards, and tons of action-packed features!    Opening Date: February 28, 2025  Opening Time by Country:  Greece: 20:00  Brazil: 15:00  Russia (Moscow): 21:00  Argentina: 15:00  Important Note: The donation weapons, armors, and jewelry will be closed for 2 days for the donors.   Key Features:  100% PvP Full Balance – No Pay to Win!  Ultra Stable – No Wipes, Long-Term Project!  Siege Castles: Giran, Aden, Rune  Giran Siege Reward: 100€ Real Money! (Every week after: 50€)  VIP Autofarm: x2 Drop & Name Color Change  6 Grand Bosses & 6 Special Grand Bosses!  Casino – Try Your Luck & Win Big!  Daily PvP Events – Show off your skills!  Enchant Rates: Safe +6, Max +25  JOIN NOW and prepare for the ultimate PvP experience! Check out the official links below:    Website: L2DoubleDamage  Discord: Join Here  Instagram: Follow Us  YouTube: Watch the Trailer  Facebook: Like Our Page  Get ready! The adventure begins tomorrow!    🚀 JOIN NOW & Experience the Best PvP Gameplay Ever! 🚀 🌐 Website: http://www.l2doubledamage.com/ 💬 Discord: https://discord.gg/l2doubledamage 📷 Instagram: https://www.instagram.com/l2doubledamage/ 📘 Facebook: https://www.facebook.com/profile.php?id=61573159438765&sk=about_contact_and_basic_info 📺 YouTube:  
    • 🔥 L2Custom.com - FRESH START/WIPE! 🔥 🗓️ Wipe/Open Date: 2025-03-01, 18:00 GMT+2 ⚔️ Chronicle: Interlude | Rates: High 🌟 Key Features: ✅ Custom Items – Enhanced PvP Experience ✅ Full Buffer – No Hassle, Just Action ✅ Olympiad (A-Grade Only) – Every Week ✅ Castle Sieges – Every Week 🚀 Fresh Start – Dominate from Day 1! Gather your clan, forge alliances, and prove your strength on the battlefield! 🌐 Join Now: www.l2custom.com 💥 Don’t miss out on the ultimate PvP experience! 💥
    • A new template is available: Ancient-World - Responsive HTML Template    
    • We are still taking new orders! Let us talk on Telegram!
    • Hello. Looking for bot for L2 Reborn x1 Origin. Some1? L2adrenaline dont work ;/
  • Topics

×
×
  • Create New...