You are using a tools.jar for a wrong JVM version.
You have to run iReport with JVM 1.5 to compile with a 1.5 tools.jar.
Giulio
Meenakshi Singh wrote:
When I am trying to test a simple scriplet, it's giving me the following
error:
Errors compiling C:\ShareFolder\Reporting Tools\imageScriptlet.java!
C:\ShareFolder\Reporting Tools\imageScriptlet.java:4: cannot access java.lan
g.Object
bad class file: C:\Program Files\Java\jre1.5.0\lib\rt.jar(java/lang/Object.c
lass) class file has wrong version 49.0, should be 48.0
Please remove or make sure it appears in the correct subdirectory of the cla
sspath.
public class imageScriptlet extends it.businesslogic.ireport.IReportScriptle
t { ^ 1 error
I am using ireport version 0.5.3.
Please help at the earliest for all these problems.
Thanks & Regards,
Meenakshi.
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
Meenakshi Singh
Sent: Wednesday, February 01, 2006 11:49 AM
To: JasperreportsQuestions (E-mail)
Subject: [jasperreports-questions] custom error page when no image is
found
Hi all,
I want to show a custom image in a report if an image is not found or the
system is not able to load a image.
How can I accomplish this. If I need to write a scriptlet for this then how
can I write a scriptlet for the same.
Please help me, it's a urgent requirement.
Thanks & Regards,
Meenakshi.
PS: Please reply my earlier question also.(How to load a bmp image file in
the report)
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
jasperreports-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
jasperreports-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
jasperreports-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions