WeedPrince® Posted May 3, 2009 Posted May 3, 2009 I'm trying to compile a L2dot pack and once i run the ant build at build.xml I get the following BUILD FAILED C:\Projects\L2Dot_IL_GameServer\build.xml:71: 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" I set the JAVA_HOME variable to: C:\Program Files\Java\jdk1.6.0_13\bin Which is my install path... And still the same annoying error... I tried restarting my computer but nothing... My Kind Regards, Demon
0 uNiQue1337 Posted May 3, 2009 Posted May 3, 2009 remove the \bin Do it like that: C:\Program Files\Java\jdk1.6.0_13\ And try again.
0 WeedPrince® Posted May 3, 2009 Author Posted May 3, 2009 Okay done... But as it was compiling I got this kind of "warning": [javac] Note: C:\Projects\L2Dot_IL_GameServer\java\net\sf\l2j\gameserver\GeoEngine.java uses or overrides a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. Anything important?
Question
WeedPrince®
I'm trying to compile a L2dot pack and once i run the ant build at build.xml I get the following
BUILD FAILED
C:\Projects\L2Dot_IL_GameServer\build.xml:71: 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"
I set the JAVA_HOME variable to:
C:\Program Files\Java\jdk1.6.0_13\bin
Which is my install path...
And still the same annoying error...
I tried restarting my computer but nothing...
My Kind Regards,
Demon
2 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now