compile problem :S

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
wanted
Posts: 16
Joined: Fri Mar 21, 2008 6:33 pm

compile problem :S

Post 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
User avatar
Naonah
Posts: 357
Joined: Sun Apr 04, 2010 11:12 pm

Re: compile problem :S

Post by Naonah »

JAVA_HOME C:\Program Files\Java\jdk1.6.0_(here y version)

ofc if you placed jdk in the dir like me
public void l2jserver ()
{
if (you want l2j server == no problems)
use Linux;
else
use Windows;
}
Post Reply