Jump to content
JasperReports Library 7.0 is now available ×

class file wrong version 49.0, should be 48.0


2005 IR Help

Recommended Posts

By: tc - tcsource

class file wrong version 49.0, should be 48.0

2004-09-30 08:27

Is there a compatability issue somewhere?

 

jdk1.5.0

jre1.5.0

iReport-0.3.2

jasperreports-0.6.1

 

Here's the error message:

 

Errors compiling test.jasper! C:usrlocalbiniReportiReport-0.3.2classic.java:17: cannot access java.lang.Object bad class file: C:usrlocalbinJavajre1.5.0librt.jar(java/lang/Object.class) class file has wrong version 49.0, should be 48.0 Please remove or make sure it appears in the correct subdirectory of the classpath. public class classic extends JRCalculator ^ 1 error

 

thanks

 

 

 

 

By: Daren O - rckrll106

RE: class file wrong version 49.0, should be

2005-11-01 12:44

I know this was an old post. I ran into the same problem and always good to post a solution.

 

Check to make sure you have the 1.5 tools.jar in the ireport lib.

 

this error refers for a java version difference between 1.4 and 1.5

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

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