Jump to content

How to compile with Eclipse.


Recommended Posts

  • 1 month later...

Buildfile: /home/papi/workspace/gameserver/build.xml

clean:

  [delete] Deleting directory /home/papi/workspace/gameserver/build

init:

    [mkdir] Created dir: /home/papi/workspace/gameserver/build

    [mkdir] Created dir: /home/papi/workspace/gameserver/build/classes

    [mkdir] Created dir: /home/papi/workspace/gameserver/build/dist

    [mkdir] Created dir: /home/papi/workspace/gameserver/build/dist/login

    [mkdir] Created dir: /home/papi/workspace/gameserver/build/dist/gameserver

version:

    [exec] Execute failed: java.io.IOException: Cannot run program "./subversion/svnversion": java.io.IOException: error=2, No such file or directory

    [echo] aCis gameserver revision: ${revision}

compile:

    [javac] /home/papi/workspace/gameserver/build.xml:49: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds

 

BUILD FAILED

/home/papi/workspace/gameserver/build.xml:49: 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 "/opt/jre1.6.0_25_x64"

 

Total time: 657 milliseconds

 

 

i get this when i try to compile the build of gameserver I'm on linux can any1 help?

Link to comment
Share on other sites

BUILD FAILED

C:\serverl2\L2J_Server\build.xml:56: 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"

 

 

I have this error ty for ur help and ur guide

Link to comment
Share on other sites

BUILD FAILED

C:\serverl2\L2J_Server\build.xml:56: 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"

 

 

I have this error ty for ur help and ur guide

Create the paths for java at your enviroment variables.

Link to comment
Share on other sites

I had it,  a system Variable JAVA_HOME    C:\Program Files\Java\jre6  ; is something wrong here? I had do that and restart but i have the same error ty again

 

screen:

 

variablejava.th.jpg

 

Uploaded with ImageShack.us

 

 

Problem Fix i had take another java version in eclipse :D thank for ur help

 

Link to comment
Share on other sites

I've installed Windows 7 x64 and for some reason it seems that the JAVA_HOME variable is stuck at C:\Program Files (x86)\Java\jre6 anyone knows how to change it. I have tried Computer(left click)>properties>advanced system settings>Environment variables

Link to comment
Share on other sites

  • 2 weeks later...

very nice work man ;)

 

can somebody tell me how to update my pack?from rec 827 to rec 836!!!

maybe you want to say update my server...

there are few guides on MxC and if i'm not wrong on L2jServer wiki.

Link to comment
Share on other sites

anyone will help me? it crashers without any messages or anything. thanks for fast helping :|

I had this problem long time ago when i was using Windows XP and the only solution was to reinstall windows.

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
Reply to this topic...

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