Mitjuh Posted May 4, 2009 Posted May 4, 2009 Anyone knows how to fix this? Buildfile: C:\Documents and Settings\Administrator\RoyalKnights Workspace\L2_GameServer\build.xml clean: [delete] Deleting directory C:\Documents and Settings\Administrator\RoyalKnights Workspace\L2_GameServer\build verifyRequirements: init: [mkdir] Created dir: C:\Documents and Settings\Administrator\RoyalKnights Workspace\L2_GameServer\build [mkdir] Created dir: C:\Documents and Settings\Administrator\RoyalKnights Workspace\L2_GameServer\build\classes [mkdir] Created dir: C:\Documents and Settings\Administrator\RoyalKnights Workspace\L2_GameServer\build\dist [mkdir] Created dir: C:\Documents and Settings\Administrator\RoyalKnights Workspace\L2_GameServer\build\dist\login [mkdir] Created dir: C:\Documents and Settings\Administrator\RoyalKnights 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 1250 source files to C:\Documents and Settings\Administrator\RoyalKnights Workspace\L2_GameServer\build\classes BUILD FAILED C:\Documents and Settings\Administrator\RoyalKnights Workspace\L2_GameServer\build.xml:74: 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
0 Horus Posted May 4, 2009 Posted May 4, 2009 Did you read the error? Cannot run program "svnversion": CreateProcess error=2, The system cannot find the file specified You do not have an SVN Client or your JAVA_HOME isn't pointing to the actual directory.
0 Mitjuh Posted May 4, 2009 Author Posted May 4, 2009 Yea but I have no idea what I have to do I know I need SubVersion but I can't get it installed..
0 Horus Posted May 4, 2009 Posted May 4, 2009 Yea but I have no idea what I have to do I know I need SubVersion but I can't get it installed.. What do you mean? Its an .exe or a .msi its just clicking "Next" how hard can it be ? About JAVA_HOME do this: Right Click on "My Computer" > Proprieties > Advanced > System Variables > JAVA_HOME and make sure its pointing to the right dir.
0 Mitjuh Posted May 5, 2009 Author Posted May 5, 2009 What do you mean? Its an .exe or a .msi its just clicking "Next" how hard can it be ? About JAVA_HOME do this: Right Click on "My Computer" > Proprieties > Advanced > System Variables > JAVA_HOME and make sure its pointing to the right dir. Thanks it works fine now ^^
Question
Mitjuh
Anyone knows how to fix this?
Buildfile: C:\Documents and Settings\Administrator\RoyalKnights Workspace\L2_GameServer\build.xml
clean:
[delete] Deleting directory C:\Documents and Settings\Administrator\RoyalKnights Workspace\L2_GameServer\build
verifyRequirements:
init:
[mkdir] Created dir: C:\Documents and Settings\Administrator\RoyalKnights Workspace\L2_GameServer\build
[mkdir] Created dir: C:\Documents and Settings\Administrator\RoyalKnights Workspace\L2_GameServer\build\classes
[mkdir] Created dir: C:\Documents and Settings\Administrator\RoyalKnights Workspace\L2_GameServer\build\dist
[mkdir] Created dir: C:\Documents and Settings\Administrator\RoyalKnights Workspace\L2_GameServer\build\dist\login
[mkdir] Created dir: C:\Documents and Settings\Administrator\RoyalKnights 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 1250 source files to C:\Documents and Settings\Administrator\RoyalKnights Workspace\L2_GameServer\build\classes
BUILD FAILED
C:\Documents and Settings\Administrator\RoyalKnights Workspace\L2_GameServer\build.xml:74: 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
4 answers to this question
Recommended Posts