Missing Antl.* source files for JFreeReport.

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Navin Pathuru

Missing Antl.* source files for JFreeReport.

Post by Navin Pathuru » Mon May 14, 2001 6:51 am

Hello, I have downloaded JFreeReport zip files. After extracting all the source files and class files to \src directory and \classes directory, i selected the "JFreeReportDemo.java" and selected the option "Make" , at this time i am getting a bunch of errors:

"ReportDefinitionParser.java": Error #: 302 : cannot access class antlr.TokenBuffer; class antlr.TokenBuffer not found in stable package at line 3, column 14
"ReportDefinitionParser.java": Error #: 302 : cannot access class antlr.TokenStreamException; class antlr.TokenStreamException not found in stable package at line 4, column 14
...
...
...

As mentioned in the JFreeReport.pdf file, i extracted the jar files of antlr.jar, demo.jar, jfreereport.jar into the classes directory of my environment. But i am continuing to get the errors which are mentioned above.
It looks like i may need to the source file for antlr.* package inorder to run the Demo.
Can anyone help me in this regard and let me know what i need to do inorder to correct this. I would appreciate it.

Regards,
Navin.

David Gilbert

RE: Missing Antl.* source files for JFreeReport.

Post by David Gilbert » Tue May 15, 2001 12:35 pm

It sounds like antlr.jar is not on your classpath. Can you post the exact command you use to run the demo program?

Regards,

DG.

Locked