Jump to content
JasperReports Library 7.0 is now available ×

Ant won't compile samples


Recommended Posts

By: Craig Bowman - cwbowman

Ant won't compile samples

2003-01-31 09:28

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_HOMEbin 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

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...