Error when i try to compile

Have you created a useful tool? or Do you want to get help building one? This is the right place!
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
DSM
Posts: 3
Joined: Wed May 13, 2009 12:07 pm

Re: L2J, L2JDP Execute failed

Post by DSM »

I use program IntelliJ IDEA 8.1.2 what it is necessary to establish for it?
User avatar
janiii
L2j Veteran
L2j Veteran
Posts: 4269
Joined: Wed May 28, 2008 3:15 pm
Location: Slovakia

Re: L2J, L2JDP Execute failed

Post by janiii »

DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper
I don't give private support - PM will be ignored!
Saso
Posts: 55
Joined: Fri Apr 24, 2009 11:53 am

Very newbie question regarding Eclipse

Post by Saso »

Hey everyone!

I got a very dumb and simple question, that I just cant resolve on my own.

I got eclipse working, and subclipse too. I can connect with the l2jserver SVNs, I checkout the projects, I can do patch edits and what not.

Now how do i extract, or packet that so I can use it as a server?
Evilus
Posts: 387
Joined: Mon Jun 09, 2008 6:08 pm

Re: Very newbie question regarding Eclipse

Post by Evilus »

Find the build.xml file right click and go to run as and choose ant
Saso
Posts: 55
Joined: Fri Apr 24, 2009 11:53 am

Re: Very newbie question regarding Eclipse

Post by Saso »

[exec] Execute failed: java.io.IOException: Cannot run program "svnversion": CreateProcess error=2, The system cannot find the file specified

Is what I got!

But the Build was successfully completed. Thanks!
Evilus
Posts: 387
Joined: Mon Jun 09, 2008 6:08 pm

Re: Very newbie question regarding Eclipse

Post by Evilus »

Non-critical error. Nothing to worry about. If you want it to be gone just install subversion.
dulisi
Posts: 43
Joined: Wed Sep 16, 2009 8:39 am

problem with eclipse

Post by dulisi »

PLZ CAN U HELP ME

Buildfile: C:\Documents and Settings\Lisi\workspace\L2_GameServer\build.xml
clean:
[delete] Deleting directory C:\Documents and Settings\Lisi\workspace\L2_GameServer\build
verifyRequirements:
init:
[mkdir] Created dir: C:\Documents and Settings\Lisi\workspace\L2_GameServer\build
[mkdir] Created dir: C:\Documents and Settings\Lisi\workspace\L2_GameServer\build\classes
[mkdir] Created dir: C:\Documents and Settings\Lisi\workspace\L2_GameServer\build\dist
[mkdir] Created dir: C:\Documents and Settings\Lisi\workspace\L2_GameServer\build\dist\login
[mkdir] Created dir: C:\Documents and Settings\Lisi\workspace\L2_GameServer\build\dist\gameserver
version:
[exec] Execute failed: java.io.IOException: Cannot run program "svnversion": CreateProcess error=2, The system cannot find the file specified
compile:
[javac] Compiling 1360 source files to C:\Documents and Settings\Lisi\workspace\L2_GameServer\build\classes

BUILD FAILED
C:\Documents and Settings\Lisi\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"

TY
User avatar
janiii
L2j Veteran
L2j Veteran
Posts: 4269
Joined: Wed May 28, 2008 3:15 pm
Location: Slovakia

Re: problem with eclipse

Post by janiii »

1. check your C:\Program Files\Java directory, if there is a jdk named directory
2. do you have java sdk installed? http://java.sun.com/javase/downloads/widget/jdk6.jsp
3. do you have JAVA_HOME set to the jdk directory (not jre directory!) ?
DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper
I don't give private support - PM will be ignored!
dulisi
Posts: 43
Joined: Wed Sep 16, 2009 8:39 am

Re: problem with eclipse

Post by dulisi »

janiii wrote:1. check your C:\Program Files\Java directory, if there is a jdk named directory
2. do you have JAVA_HOME set to the jdk directory (not jre directory!) ?

1.I don't have jdk named directory on C:\Program Files\Java
2.Can you make me example of jdk directory what to write on system variable

TY
User avatar
janiii
L2j Veteran
L2j Veteran
Posts: 4269
Joined: Wed May 28, 2008 3:15 pm
Location: Slovakia

Re: problem with eclipse

Post by janiii »

install the jdk. then set the JAVA_HOME system variable to the jdk directory. should work. check the installation instructions for java jdk, if you dont understand.
DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper
I don't give private support - PM will be ignored!
dulisi
Posts: 43
Joined: Wed Sep 16, 2009 8:39 am

Re: problem with eclipse

Post by dulisi »

thnx janiii :wink:
reef26
Posts: 26
Joined: Thu Nov 06, 2008 4:08 pm

Eclipse, Gracia Epilogue

Post by reef26 »

If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision Number:
L2JDP Revision Number:

Buildfile: D:\Programas\Java Dev\Workspace\datapack_development\build.xml
init:
[mkdir] Created dir: D:\Programas\Java Dev\Workspace\datapack_development\build\dist\tools
version:
[exec] Execute failed: java.io.IOException: Cannot run program "svnversion": CreateProcess error=2, O sistema n?o pode encontrar o arquivo especificado
export:
[sync] Copying 2 files to D:\Programas\Java Dev\Workspace\datapack_development\build\dist\doc
[sync] Copying 16890 files to D:\Programas\Java Dev\Workspace\datapack_development\build\dist\gameserver\data

???????
Last edited by reef26 on Fri Jan 01, 2010 3:23 pm, edited 1 time in total.
User avatar
janiii
L2j Veteran
L2j Veteran
Posts: 4269
Joined: Wed May 28, 2008 3:15 pm
Location: Slovakia

Re: Eclipse, Gracia Epilogue

Post by janiii »

continue running the build, you have NO error, it is only warning. build should end without any problems.
DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper
I don't give private support - PM will be ignored!
User avatar
MELERIX
L2j Veteran
L2j Veteran
Posts: 6667
Joined: Sat Sep 23, 2006 11:31 pm
Location: Chile
Contact:

Re: Eclipse, Gracia Epilogue

Post by MELERIX »

reef26 wrote:If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision Number:
L2JDP Revision Number:

Buildfile: D:\Programas\Java Dev\Workspace\datapack_development\build.xml
init:
[mkdir] Created dir: D:\Programas\Java Dev\Workspace\datapack_development\build\dist\tools
version:
[exec] Execute failed: java.io.IOException: Cannot run program "svnversion": CreateProcess error=2, O sistema n?o pode encontrar o arquivo especificado
export:
[sync] Copying 2 files to D:\Programas\Java Dev\Workspace\datapack_development\build\dist\doc
[sync] Copying 16890 files to D:\Programas\Java Dev\Workspace\datapack_development\build\dist\gameserver\data

???????
you forgot to install subversion, read the guides again... viewtopic.php?f=2&t=10719
User avatar
janiii
L2j Veteran
L2j Veteran
Posts: 4269
Joined: Wed May 28, 2008 3:15 pm
Location: Slovakia

Re: Eclipse, Gracia Epilogue

Post by janiii »

or just use search next time..
DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper
I don't give private support - PM will be ignored!
Post Reply