Jump to content
JasperReports Library 7.0 is now available ×

Help! version problem


Recommended Posts

By: james - digitiger

Help! version problem

2003-05-21 09:16

I am jasper beginner.

Try to run jasper samples at linux 7.0 with jdk1.4.1

got following problem.Is there anybody can help me?

 

compile:

[java] /home/sqltest/java/jasper/demo/samples/alterdesign/AlterDesignReport.java:24: cannot access java.lang.Object

[java] bad class file: /usr/java/j2sdk1.4.1/jre/lib/rt.jar(java/lang/Object.class)

[java] class file has wrong version 48.0, should be 47.0

[java] Please remove or make sure it appears in the correct subdirectory of the classpath.

[java] private JRFillParameter parameter_REPORT_CONNECTION = null;

[java] ^

[java] 1 error

[java] dori.jasper.engine.JRException: Errors were encountered when compiling report expressions class file:

[java] See error messages above.

[java] at dori.jasper.engine.design.JRCompiler.compileReport(JRCompiler.java:148)

[java] at dori.jasper.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:135)

[java] at dori.jasper.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:107)

[java] at AlterDesignApp.main(AlterDesignApp.java:127)

 

 

 

 

 

 

By: james - digitiger

RE: Help! version problem

2003-05-21 14:14

After browsing whold forum, i get some helpful information and fix the problem.

In case someone will have the same problem,the following message will be useful.

 

go to jasper/lib, update tool.jar with the tool.jar from the same version jdk package u set in the system environment.

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