Jump to content
We've recently updated our Privacy Statement, available here ×

tman

Members
  • Posts

    4
  • Joined

  • Last visited

tman's Achievements

Rookie

Rookie (2/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. 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.
  2. My hack, I used a sql connection for each report as the datasource, the master report and the subreport report. The sql query is simply, Select "dummyrecord" from dual. In the master report I created the subreport connection using the same master report connetion. Since each report now queries for 1 record the sub report now displays as well as the master report. If you do not have a sql connection (ie a database to connect to) you could probably do the same thing with a JRDataSource, creating one dummy record in the JRDataSource and using this datasource for the master and subreport. Using this technique you don't have to worry about setting any parameters in the repor, like the "When No Data" parameter. The fact that this simple feature is not built into Jasper reports is disconcerning. This issue has been brought up since at least version .05.
  3. I have read many examples of how to create a report that displays multiple static pages, however, I have not been able to duplicate the process with IReport 1.2.4. I created a master report, set the When No Data field to AllSectionsNoDetail. Added static text to the detail section. I created a Group footer and header section on the Master report, and then added a subreport (a new report with static text in the detail section) to the group footer. I also set the When No Data field to AllSectionsNoDetail in the subreport. There is no datasource as the report is a few pages of static text. Compiled and ran the report. The Master page was visible but not the subreport. I then tried moving the static text of the subreprt into another section, the PageHeader section. Again compiled and ran the report with the same results. Any ideas??
  4. 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 and put 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 I can use Java j2sdk1.4.2_12 with iReports and JasperReports?
×
×
  • Create New...