Jump to content
Changes to the Jaspersoft community edition download ×

JasperCompileManager error

2005 IR Help

Recommended Posts

By: John Augusto Charnet - jcharnet

JasperCompileManager error

2004-06-10 07:57

I'm trying to compile a report that I've generated through the API with the method


When I call this method I get the following error:

C:jdeveloper9034jdevbinTeste.java:24: cannot access java.lang.Object

bad class file: C:j2sdk1.4.2_03jrelibrt.jar(java/lang/Object.class)

class file has wrong version 48.0, should be 47.0

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

private JRFillParameter parameter_REPORT_CONNECTION = null;


Any ideas ?


Thanks again for all the great work ...







By: John Augusto Charnet - jcharnet

RE: JasperCompileManager error

2004-06-10 12:33

I changed my jdk to 1.3 and it worked.

Does jasperreports have some kind of incompatibility with jdk 1.4.2_03 ?


thanks .







By: Chuck Deal - cdeal

RE: JasperCompileManager error

2004-06-10 12:43

You have the wrong version of tools.jar in your classpath. Since it looks like you are trying to use the JDK 1.4.2, you probably have a JDK 1.3.x tools.jar in your classpath.

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