Jump to content
  • 0

register gameserver on linux (ubuntu)


Question

Posted

Exception in thread "main" java.lang.UnsupportedClassVersionError: com/l2jserver/gsregistering/GameServerRegister : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:634)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
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)
Could not find the main class: com.l2jserver.gsregistering.GameServerRegister. Program will exit.

 

Its my first time that i use linux software i install database without any problem but i cant register gameserver

 

So i am looking for a solution or a more explained guide than this: http://www.maxcheaters.com/forum/index.php?topic=161164.0

14 answers to this question

Recommended Posts

  • 0
Posted

why use linux? it's difficult to create a server in this os..

windows is easier :D

 

I know my skill on windows are good but if you buy a decicated windows costs , linux is better.

 

I installed java and still have this problem.

  • 0
Posted

Use the command line and type:

 

apt-cache search jre (or jdk)

It'll print out a list of java related stuff, find the JRE or JDK with the highest version and type

sudo apt-get install <whateverwasfoundonthelist>

  • 0
Posted

Use the command line and type:

 

apt-cache search jre (or jdk)

It'll print out a list of java related stuff, find the JRE or JDK with the highest version and type

sudo apt-get install <whateverwasfoundonthelist>

 

and if this doesnt work just download the jdk from the web and run it in your console.

 

is easier.

 

@maximilion2 linux is DA bomb kid, is cheap fast and relieable also if you do a good installation of it you can optimize your server to be faster than a l2j server runnin' in wind0ws

 

That's why :)

 

  • 0
Posted

Go increase post on another topic...

god, why do you use linux since you don't know how to install a programm? Anyway which kind of linux do you use?

Did you even read all the tittle or even any post ?

Go buy a dedicated machine with windows and will understand why Linux is necessary. 

Use the command line and type:

 

apt-cache search jre (or jdk)

It'll print out a list of java related stuff, find the JRE or JDK with the highest version and type

sudo apt-get install <whateverwasfoundonthelist>

Tnx I have already all Jre and jdk on my linux ubuntu but still got this error on registergameserver.

(Also i have changes primary in order to sun java jre is first from others e.x openjdk etc.)

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
Answer this question...

×   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

    • My official facebook profile!: https://www.facebook.com/spectrumL2 Specifications: Revamped L2JACIS revision FROM the core Private project!!! Revision that has been receiving corrections for over 3 years!!! Events already installed in the revision: TVT CTF KTB PARTY FARM SPOIL EVENT CRAZY RATES TOURNAMENT TIME ZONE (INSTANCE) All working correctly!!! SIEGE ESSENTIAL FEATURES: Walls fix Gates fix Flags fix 100% functional: OLYMPIADS: Implemented settings Hero receives enchanted Weapons with equal status PvP Weapons Optional /true/false Hero can acquire all Hero Weapons Optional true/false OTHER IMPLEMENTATIONS: Teleport fixed (directly to Giran) Teleport effect classic Vip skins vip collor name Pack NPCs with effect already configured BOSES already configured Mobs already configured CLASS BALANCE SPECIAL SYSTEM We have a SPECIAL system developed for Class Balance with only 1 digit in XML %tage of configurable debuffs Player limitation system in BOSES or PvP zones BS blocking system in FLEG zones or events Among others dozens of improvements made in the review... price: 390 USD !  OBS: WE CAN CHANGE THE BANNER AND NAME OF THE SERVICE TO THE ONE OF YOUR PREFERENCE BUT THE SETTINGS MUST BE KEPT ANY CHANGES REQUIRE ADDITION        
    • Server is Online – 1,000+ Active Players! We’re excited to announce the addition of a Europe Proxy to improve connectivity for our EU players! Clans can now benefit from VIP Access to help you catch up faster. 🎯 If you're a clan leader with at least 9 active members, join our Discord and open a ticket to claim your VIP rewards!  
    • The Telegram team is rolling out a new batch of Stars-only gifts you’ll be able to mint as NFTs. Don’t miss your chance to join the next Telegram trend and earn from it! Buy Telegram Stars cheap and KYC-free 1 Star from $0.0149 (min. 50 Stars, bulk discounts available) Promo code STARS5 — 5 % off Pay any way you like: bank cards · crypto · other popular methods How to purchase: ➡Online Store — Click ➡ Telegram bot — Click Other services: ➡ SMM panel — Click Regular buyers get extra discounts and promo codes. Support: ➡ Telegram: https://t.me/solomon_bog ➡ Telegram channel: https://t.me/accsforyou_shop ➡ Discord: https://discord.gg/y9AStFFsrh ➡ WhatsApp: https://wa.me/79051904467 ➡ Email: solomonbog@socnet.store Use these contacts to discuss wholesale orders, partnerships (current list: https://socnet.bgng.io/partners) or to become a supplier. SocNet — your shop for digital goods and premium subscriptions
  • Topics

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