Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JasperReports compiling problem

 
Anna Kononen
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I am new to JasperReports, and I am trying to compile one of the demo files provided with the application. I get the following error:

C:\ann\sun\jdk\bin>javac -classpath C:\ann\JasperReports\jasperreports-0.6.1\lib\tools.jar;
C:\ann\JasperReports\jasperreports-0.6.1\classes\net\sf\jasperrepo
rts\engine\;
C:\ann\JasperReports\jasperreports-0.6.1\classes C:\ann\JasperReports\jasperreports-0.6.1\demo\samples\jasper\JasperApp.java
C:\ann\JasperReports\jasperreports-0.6.1\demo\samples\jasper\JasperApp.java:135
: cannot access JasperCompileManager
bad class file: C:\ann\JasperReports\jasperreports-0.6.1\classes\net\sf\jasperr
eports\engine\JasperCompileManager.class
class file contains wrong class: net.sf.jasperreports.engine.JasperCompileManager
Please remove or make sure it appears in the correct subdirectory of the classpath.
JasperCompileManager.compileReportToFile(fileNam
e);
^
1 error

I am sure it's smth simple....please help
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic