Ant won't compile samples

By: Craig Bowman - cwbowman
Ant won't compile samples
2003-01-31 05:30
I don't know if this is a Jasper or Ant issue, but when I try to run ant on the samples, I get the following:
BUILD FAILED
file:C:/stuff/javastuff/jasper/JasperReports/demo/samples/chart/build.xml:8: Una
ble to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK

I've checked, re-checked and re-re-checked the environment variables. Also, I can run javac, java, jar and any other JAVA_HOME\bin executable. I'ved moved tools.jar to the \lib folder, I've even expressly included it in my classpath to no avail. I am running Windows 2000. Any Ideas?

Craig Bowman
2002 JI Open Discussion's picture
Joined: Aug 10 2006 - 3:28am
Last seen: 16 years 10 months ago

0 Answers:

No answers yet
Feedback