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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Posts

    • This update resaves 25_25 from the original (with sounds) (without the cave below) Some emitter fixes (removed waterfalls with high-poly meshes) The geodata is old, but it works Everything else is unchanged Download P.S. The effect files are taken from the high client for Interlude, so if you're experiencing critical skills, use the default ones for your Version.  
    • GX-Ext Which file of the svn files should i edit to make blow skills to have 100% chance so i can add the settings in the IlExt.ini? because when im changing it from the skilldata.txt it just helps
    • 我们感谢您的 反馈 并希望让服务变得更加 优秀! 如果您使用过我们的服务并愿意分享您的体验(任何体验——积极或建设性),请在Trustpilot上留下评价,并获得$1作为感谢。 链接: https://www.trustpilot.com/review/socnet.pro 如何获得奖励: 1. 前往Trustpilot并留下您的评价 2. 向我们发送发布确认截图,以及带有与评价用户名一致的授权账户截图。 3. 指定哪个商店应收到这 $1 奖励。根据商店不同,可能需要您的用户名/电子邮箱。 您的反馈帮助我们成长,并让项目对社区中的每一位成员变得更好。感谢您与我们同行! 条款: 此活动仅适用于一个唯一用户。不允许多账号行为。 项目有效链接: 数字商品商店(网站): 前往 商店 Telegram 机器人: 前往 – 通过 Telegram 方便访问商店。 虚拟号码服务: 前往 用于购买 Telegram Stars 的 Telegram 机器人: 前往 – 在 Telegram 中快捷且优惠地购买 Stars。 SMM 面板: 前往 – 推广您的社交媒体账户。 我们想向您展示当前的 促销和特别优惠列表 用于购买我们提供的产品与服务: 1. 您可在首次购买时使用优惠码:SOCNET(15% 折扣) 2. 获得 $1 商店余额或 10–20% 折扣——只需在我们网站注册后,按照模板填写您的用户名:“SEND ME BONUS, MY USERNAME IS...”并在我们的论坛主题中发布! 3. 首次启动 SMM 面板可获得 $1:只需在我们的网站(Support)提交主题为 “Get Trial Bonus” 的工单。 4. 我们的 Telegram 频道以及 Stars 购买机器人中每周都有 Telegram Stars 抽奖! 新闻: ➡ Telegram 频道: https://t.me/accsforyou_shop ➡ WhatsApp 频道: https://chat.whatsapp.com/K8rBy500nA73z27PxgaJUw?mode=ems_copy_t ➡ Discord 服务器: https://discord.gg/y9AStFFsrh 联系方式与支持: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store
  • 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