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.



×
×
  • Create New...