Jump to content
  • 0

[Problem]compile


GOld3x

Question

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

 

Link to comment
Share on other sites

8 answers to this question

Recommended Posts

  • 0

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.

 

 

Link to comment
Share on other sites

  • 0

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"

 

 

 

Link to comment
Share on other sites

  • 0

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.

Link to comment
Share on other sites

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