tman Posted November 4, 2006 Share Posted November 4, 2006 I downloaded iReport 1.2.4 (windows installer version)and JasperReport 1.2.4 and Java j2sdk1.4.2_12.I am setting the compiler in iReports to use the tools.jar copied from j2sdk1.4.2_12 andput in the iReport/lib directory. When I try to compile a new report I get the following error:cannotÂaccessÂjava.lang.Object badÂclassÂfile:ÂC:ProgramÂFilesJavajre1.5.0_02librt.jar(java/lang/Object.class) classÂfileÂhasÂwrongÂversionÂ49.0,ÂshouldÂbeÂ48.0. I understand the problem arises because there is a conflict between the different java compilers.I thought all the above applications were compatiable. What needs to be changed so that Ican use Java j2sdk1.4.2_12 with iReports and JasperReports? Link to comment Share on other sites More sharing options...
mortoza Posted November 10, 2006 Share Posted November 10, 2006 HelloCan you try using tools.jar from JDK 1.5? Mortoza Link to comment Share on other sites More sharing options...
tman Posted November 11, 2006 Author Share Posted November 11, 2006 Our application is designed using the JDK 1.4.2_12 so I'm trying to avoid going to JDK 1.5. I guess my question is which application is using the JDK 1.5 libraries, iReport 1.2.4. or Jasperreport 1.2.4. I assume the tools.jar for JDK 1.4.2_12 is version 1.4.2... I guess I could investigate further, I just thought someone else has probably already had the same issue. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now