Jump to content
  • 0

i added 1 java code and i have this error in compile.


Question

Posted

[echo] L2jFrozen Gameserver Revision: 948M
compile:

BUILD FAILED
C:\Users\DreamTeam\Desktop\Lineage II Nephelim Source\gameserver\build.xml:65: java.lang.UnsupportedClassVersionError: com/sun/tools/javac/Main : Unsupported major.minor version 51.0

Total time: 2 seconds

 

What does it means?

Recommended Posts

  • 0
Posted

Well,since i got to this forum,in everything i post you make an ironic post. Im not a pro developer, i had many servers with 500+ online or so (who cares about population etc..) but i was hiring developer,and now i want to learn something,and you just speak ironic,was you borned with the knowledge of java? i guess no. To post this problem here that mean's i searched google and didn't understand nothing. So can you give me a actual solution of what can i do to fix this problem or stop raging me?

 

Thank you with respect,Visius.

  • 0
Posted

Check if tools.jar used during compilation complies with the JRE set. If you are on eclipse, verify the versions as:

Goto Window->Preferences

- Check Ant Runtime by selecting Runtime under Ant in the left pane. Check the Global Entries under classpath tab. You can see the version in folder path.

- On the left pane check installed JREs under Java. Check the version.

 

  • 0
Posted

Check if tools.jar used during compilation complies with the JRE set. If you are on eclipse, verify the versions as:

Goto Window->Preferences

- Check Ant Runtime by selecting Runtime under Ant in the left pane. Check the Global Entries under classpath tab. You can see the version in folder path.

- On the left pane check installed JREs under Java. Check the version.

 

Well,never compiled again that source,i added a code perfectly and after i tried to compile GAMESERVER i had this error in DATAPACK i hadn't .
  • 0
Posted

Well,since i got to this forum,in everything i post you make an ironic post. Im not a pro developer, i had many servers with 500+ online or so (who cares about population etc..) but i was hiring developer,and now i want to learn something,and you just speak ironic,was you borned with the knowledge of java? i guess no. To post this problem here that mean's i searched google and didn't understand nothing. So can you give me a actual solution of what can i do to fix this problem or stop raging me?

 

Thank you with respect,Visius.

The point of this forum lately, isn't to fullify all the requests newbies do.

 

There's a search button, which finally works.

 

Java might seem difficult when you start playing with it, but it's not impossible. It's english language.

When you get errors, check what they say. In most cases you'll find the error by yourself. Without to have to waste your time, nor other member's time.

 

The problem is in the jre you use.

 

Idk which one is. You can find it.

 

Irony? It's sarcasm. More powerful. Everyone has it. Not everyone showing it.

When you've seen a lot of ''stupid'' questions*, you get bored of being serious.

 

 

* There are no stupid questions, just stupid answers.

 

 

So, the conclusion : CHeck your jre version

 

  • 0
Posted

[echo] L2jFrozen Gameserver Revision: 948M
compile:

BUILD FAILED
C:\Users\DreamTeam\Desktop\Lineage II Nephelim Source\gameserver\build.xml:65: java.lang.UnsupportedClassVersionError: com/sun/tools/javac/Main : Unsupported major.minor version 51.0

Total time: 2 seconds

 

What does it means?

 

yeap, update your jre, make sure u have the latest jdk7

  • 0
Posted

Well,since i got to this forum,in everything i post you make an ironic post. Im not a pro developer, i had many servers with 500+ online or so (who cares about population etc..) but i was hiring developer,and now i want to learn something,and you just speak ironic,was you borned with the knowledge of java? i guess no. To post this problem here that mean's i searched google and didn't understand nothing. So can you give me a actual solution of what can i do to fix this problem or stop raging me?

 

Thank you with respect,Visius.

I never said I was a Java pro (quote me and I give you 100€), and there are probably a lot of people who code faster and better than me.

 

That's another problem to not be able to use Google search, and read the answer with the most upvote (67 up), and then eventually seek others infos related to infos you found from this.

 

If you can't understand you're using the bad version of Java from the post I quoted (first post on top of the list after c/ping your error), or Eclipse is using a bad version somehow, well, I can't anything for you.

 

And I'm sarcastic when question is ridiculous. Make an interesting question and I will make an interesting answer. I doubt you will find sarcasms on any post I do, even if I must admit that's a trend due to MxC population.

 

Peace.

 

PS : note I have given you the answer, and I never insult ppl. Take that as a mean to improve your own behavior regarding questions you could have in future !

 

PS2 : you could say you saw that interesting post and you didn't understand the meaning, my answer would be different. If you lack putting infos, I understand you didn't search, and so I answer rude. And that is sad to say but it works often, ppl tends to post less stupid questions and to self-learn.

  • 0
Posted

Get on point guys,who can actually help me solve this error?My english knowledge is limited so speaking with more easy words will help me too.

 

Oracle will help you, just go at their downloads and update your files.

  • 0
Posted

JDK includes JRE, so don't dl JRE. Only JDK is useful.

 

If you had already the correct JDK, then Eclipse is badly configured. Some Google stuff about it and you should be good.

 

If you aren't sure, uninstall ALL existing JRE/JDK, and reinstall only latest JDK. It will eventually fix collision between versions.

Guest
This topic is now closed to further replies.


  • Posts

    • I have a highly customized Hi5 pack based on L2JMobius with a lot of features for performance and modern game design. Disclaimer: I do not run any public server, but I run a "private" server for a group of 10 friends and about 2000 AI bots that required me to do heavy modifications on core systems of the game.  So my opinion will obivously be biased towards L2JMobius.   What I can tell you though without bias is: Most of the features you are asking for are nowadays considered de-facto, don't pay money for them. TvT, offline mode, community boards, premiums, vote rewards are in most packs including the open source ones. So before you pay a thousand plus euro for a pack ask yourself what you are paying that money for, that open source packs don't have.   Also a lot of the "strong points" some old packs were made for are nowadays obsolete. L2JFree derived packs for example used to have a lot of GC optimizations (Trove library) which are not not maintained, but most importantly not needed cause Java has evolved a lot since then and the performance issues these tricks tried to solve back then, are currently solved by Java's JVM itself. So if someone tries to sell you packed / unpacked integers in special hashmap data structures and other such things know that they have really lost their value nowadays.    A lot of people are selling thin air, things that everyone has. "Quality geodata" being one of them. I mean what's "quality geodata" ? Has someone painted them by hand ? Hell there's an online tool for free in github that extracts quality geodata, I think Galagard made it ? In contrast I'll tell you without wanting to boast about it that I use 3D navmesh on my project because 2000 bots could not pathfind large distances on A* on geodata. As far as I know, L2JMobius has it in its subscription version too. So if I could do an acceptable transition to navmesh from geodata in a week alone, I would assume that a decent pack with dedicated developers could do it better and faster. Red flag if someone still tries to sell you geodata in 2026.   Multi-protocol support gives small value and is a high risk.   I would not go for multi-protocol support for a public server cause you are locking yourself to specific providers and the functionality they support. If you need to change (eg pricing issues), you will be locked to a handful of providers. And what are you really gaining from a new client on an old game version ? Better UI ? The engine is still the same, static targeting and menus.    Agentic AI will make old hard features easy to implement, and drop their money value. Pay for AI-proof value. And compared to what most insecure devs claim, its a very powerful tool that allows those who know how to use it to accelerate their development. So a lot of features that took in the past a lot of time and effort to be developed and were a reason to charge money, are becoming a commodity today. So think to: The thing I am paying money for right now, how easy will it be to implement in a year from now ? If for example you are paying money for a game launcher that Claude Code can generate in top 1 hour without issues, I think you are wasting money.    I want to emphasise this a lot. Software engineering is in a transition atm. Most things that were mediocre to implement, launchers, guards, CMS, are nowadays easy. Yet the dev community continues to market them as premium content. They are not, sooner or later, when everyone starts selling them, they will realize that they will have to offer value in more complex features.  Private or public ? Bottom line is that a private pack and 1000 euro wont get you a sucessful server. You're the one that make it or break it. There have been many sucessful servers both in private packs and public packs in the past. It's really on the hands of the beholder, not on the source. A pack that plays good is a good indicator to buy as Trance said, but I would disagree that it's not enough. A server owner is not a player. He's a business man and has to account for longevity, vendor lock-in, expandability, hidden costs,  amortization, price changes and many more. Don't pick a pack based on how it played only.    
    • You don’t even need to look for a ghost project. Just buy the files from a project you’ve personally tested or played. That’s a much better starting point.
    • TG Support: https://t.me/buyingproxysup | Channel: https://t.me/buyingproxycom Discord support: #buyingproxy | Server: Join the BuyingProxy Discord Server!  Create your free account here
    • You have to put deep inside your pocket for something like this, for sure 😄
    • Hello everyone, I'm looking for a High Five Java server pack for a long-term project. I'm not looking for free packs. I'm interested in purchasing a professional pack with full source code if it's worth the investment. My priorities are: Stable core Clean and well-structured source code Good geodata and AI Modern Community Board Offline Trade / Offline Craft Premium Account system Vote Reward system Auto Events (TvT, CTF, DM, etc.) HWID protection Auto Farm  Buffer / QoL systems Modern admin tools Good Olympiad & Seven Signs implementation Excellent instance support (Freya, Frintezza, Zaken, Beleth, etc.) A huge bonus would be: Multi-protocol support (High Five + newer clients such as Salvation/Classical clients) Full source code (no closed binaries) Some custom things over Elegia At the moment I'm considering packs like Sunrise and L2-Scripts, but I'd really like to hear opinions from people who have actually worked with them. If you've been running a serious High Five project, I'd appreciate your honest feedback: Which pack are you using? What are its strengths and weaknesses? Would you buy it again? Are there any better alternatives available today? I'm looking for real experience rather than advertisements. Thanks!
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..