Page 1 of 1

compile problem :S

Posted: Wed Oct 13, 2010 10:23 am
by wanted
i compile datapack just fine but gameserver gives me error when i execute ant. it says--->
C:\workspace3\L2_GameServer\build.xml:63: 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"

but i checked and in cmd i typed set JAVA_HOME and it shows C:\Users\user>set java_home=C:\Program Files\Java\jdk1.6.0_21 im confused if someone can help ty :D

Re: compile problem :S

Posted: Wed Oct 13, 2010 10:27 am
by Naonah
JAVA_HOME C:\Program Files\Java\jdk1.6.0_(here y version)

ofc if you placed jdk in the dir like me