Jump to content
  • 0

[Problem]compile


Question

Posted

Guys i have a problem on run~>build~>ant build 1 with gameserveron compiling while i have no problem with datapack please help

Buildfile: C:\Workspace\L2_GameServer\build.xml
clean:
verifyRequirements:
init:
    [mkdir] Created dir: C:\Workspace\L2_GameServer\build
    [mkdir] Created dir: C:\Workspace\L2_GameServer\build\classes
    [mkdir] Created dir: C:\Workspace\L2_GameServer\build\dist
    [mkdir] Created dir: C:\Workspace\L2_GameServer\build\dist\login
    [mkdir] Created dir: C:\Workspace\L2_GameServer\build\dist\gameserver
version:
     [exec] Execute failed: java.io.IOException: Cannot run program "svnversion": CreateProcess error=2, ??? ????? ?????? ? ?????? ??? ???????????? ??????? ??? ?? ???????
compile:
    [javac] Compiling 1360 source files to C:\Workspace\L2_GameServer\build\classes

BUILD FAILED
C:\Workspace\L2_GameServer\build.xml:76: Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK.
It is currently set to "C:\Program Files\Java\jre6"

Total time: 2 seconds

 

8 answers to this question

Recommended Posts

  • 0
Posted

Window > Preferences

 

15brb.png

 

Expand Java > Installed JREs

 

16.png

 

Hit Search and go to find your java folder from your program files.

 

17vrv.png

 

It will take some time (Not much) and then click on the latest version

 

18.png

 

 

and ok.

 

 

  • 0
Posted

I tryed  everything ...........

BUILD FAILED
C:\Workspace\L2_GameServer\build.xml:76: Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK~>

maybe this mean something?

It is currently set to "C:\Program Files\Java\jre6"

 

 

 

  • 0
Posted

Delete jre and install jdk (who install too jre).

 

If you're sure you got jdk installed, return to "Installed JREs" and push on "Add..." and give the correct path.

 

About your error about svnversion, there are explanations on L2J wiki.

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

    • Thank you for your feedback, SkyLord — even the negative kind.   Let me give you some context on who we actually are, since you asked. L2Scripts has been around for nearly 20 years. Over that time, we've worked with a large number of developers — I've personally seen probably half of every serious (and not-so-serious) developer in this scene. The most significant figure in our studio's history was Bonux. Together with a small team of assistants, he was essentially the backbone of our old codebase, and we were the ones who brought virtually every chronicle to the community — Essence, Classic, Main — all of it came through us.   Back then, we worked at scale. That era is over. Today, L2Scripts is no longer a studio in the traditional sense. It's more of a developer collective. I work alongside the best developers I've encountered in 20 years. Bonux is still with us on Classic. A new developer named Den has joined — in just 3 years he became one of the top Essence developers in the world. Every one of us works independently, but we're united by long-standing friendships and shared projects.   We no longer chase every chronicle or every client. For the past several years, we've been focused exclusively on specific long-term projects where we're paid a proper salary — and when you focus like that, with 20 years of experience behind you, the quality of what you produce is on a completely different level. Our code is currently running on nearly all top Essence and Classic servers. We're now bringing Main (Last Protocol) up to that same standard.   You mentioned Nexvil. Yes, he worked with us. That was a difficult period — the lead developer at the time was not up to the standard we hold ourselves to. It was a short period, and it's long behind us.   As for the prices — I'd ask you not to judge a product by whether you personally can afford it. That's not a fair measure of value. The people running top-tier servers understand what they're paying for. If our pricing doesn't fit your budget, that's completely fine — but downvoting a service simply because it feels expensive to you doesn't reflect well, and it certainly doesn't make the product worse.   A special thank you to eMommy and Zenith for the honest and fair words — it genuinely means a lot. It's good to know there are people in this community who judge things as they are.
    • Just because someone does professional sales doesn’t mean everything is overpriced. If the products he provides are stable and good quality, then I see nothing wrong with it, and those prices aren’t even bad. Remember, we’re living in 2026, not 10 years in the past. Your mindset is probably stuck on buying the cheapest products because maybe you can’t afford better ones. And of course, there’s always someone who likes blaming others. I think you should mind your own business instead of blaming someone for how they run theirs. If you really think his prices are too expensive, then do better than him.
    • I have to be fair here and state that almost all 'good' servers on Essence/Classic are using bonux/l2scripts files and 10k for a decent essence build imo is not that bad of a price as long as nexvil is not touching these files
    • LF who can make systemchat, autoenchant, autologin and few little fix on 306 for me, pay $$$
    • Implemented ingame drop database, craft database, shop database, best farm for desired item
  • 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..