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?
Can't Build L2J_server 5496
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
- tukune
- Posts: 533
- Joined: Sun Mar 29, 2009 2:35 pm
- Location: Japan
Re: Can't Build L2J_server 5496
You do not have the required permissions to view the files attached to this post.
-
- Posts: 47
- Joined: Thu Jan 20, 2011 5:08 pm
Re: Can't Build L2J_server 5496
fixed now ! Thx master OR
- MELERIX
- L2j Veteran
- Posts: 6667
- Joined: Sat Sep 23, 2006 11:31 pm
- Location: Chile
- Contact:
Re: Can't Build L2J_server 5496
wrong, that part is for JRE only, is not recommended to add JDK there.IamOR wrote:
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
- jurchiks
- Posts: 6769
- Joined: Sat Sep 19, 2009 4:16 pm
- Location: Eastern Europe
Re: Can't Build L2J_server 5496
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.
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.
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
- Zoey76
- L2j Inner Circle
- Posts: 7005
- Joined: Tue Aug 11, 2009 3:36 am
Re: Can't Build L2J_server 5496
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.
If you leave the default JRE you will (as wiki says) set up the JAVA_HOME.
Powered by Eclipse 4.30 | Eclipse Temurin 21 | MariaDB 11.3.2 | L2J Server 2.6.3.0 - High Five
Join our Discord!
Join our Discord!
- jurchiks
- Posts: 6769
- Joined: Sat Sep 19, 2009 4:16 pm
- Location: Eastern Europe
Re: Can't Build L2J_server 5496
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.
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.