Page 1 of 1
Can't Build L2J_server 5496
Posted: Sat Jul 14, 2012 11:03 am
by Madrobot
If you want to receive support we need this info to help you properly.
ยป Find Revision
L2J Revision
Number:
L2JDP Revision
Number:
BUILD FAILED
C:\Users\gun\workspace\L2J_Server\build.xml:64: 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\jre7"
how to fix?
Re: Can't Build L2J_server 5496
Posted: Sat Jul 14, 2012 12:22 pm
by tukune
Re: Can't Build L2J_server 5496
Posted: Sat Jul 14, 2012 3:40 pm
by Madrobot
fixed now ! Thx master OR
Re: Can't Build L2J_server 5496
Posted: Sat Jul 14, 2012 3:56 pm
by MELERIX
IamOR wrote:
wrong, that part is for JRE only, is not recommended to add JDK there.
for JDK you need to create
JAVA_HOME variable, like we told in our guides:
http://trac.l2jserver.com/wiki/Eclipse#SetJAVA_HOME
http://trac.l2jdp.com/wiki/Eclipse#SetJAVA_HOME
Re: Can't Build L2J_server 5496
Posted: Sat Jul 14, 2012 3:57 pm
by jurchiks
you mean:
http://wso2.org/project/wsas/java/2.0/d ... -home.html
BTW, I also always add JDK there and no problems... But I have the JAVA_HOME and PATH variables set up a long time ago, maybe they "fix" something.
Re: Can't Build L2J_server 5496
Posted: Sat Jul 14, 2012 4:23 pm
by Zoey76
It says Installed JRE, I wonder why someone would want to add the JDK.
If you leave the default JRE you will (as wiki says) set up the JAVA_HOME.
Re: Can't Build L2J_server 5496
Posted: Sat Jul 14, 2012 4:24 pm
by jurchiks
Well, obviously, if you point it to JDK, it will bypass the JAVA_HOME env variable, because it's a second-hand check if JRE fails.