• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JasperReports compiling problem

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic