When i run application, the system show this error.
I have installed iReport in C:\Program Files (x86)\Jaspersoft\iReport-4.8.0
and Java is in C:\Program Files\Java\jre7\bin
You need to set JDK path in config file.
See below the path that should be something like this..
C:\Program Files (x86)\Jaspersoft\iReport-3.7.0\etc
In the 'etc' folder you will find the config file where you have to set the jdkhome like this (jdkhome="C:\\Program Files\\Java\\jdk1.6" ).And you have to give jdk path not jre. Do check you have installed jdk.However your mentioned path does not show that to me.
You need to specify the location of your JDK in a file called ireport.conf found in for example if using 64 bit, then just check in the Program File (x86)\Jaspersoft\iReport.x.x.x\etc\ you can open with Notepad or WordPad (if you want the text to be in a nice order)
read through the document until you find the statement #jdkhome = "path/to/jdk" and just below that add the following statement below that one:
jdkhome = "C:\\Program Files\\Java\\jdk.x.x.x and do not go any further than that as one would usually do for example by extending into the \\bin folder DONT DO THAT.
This should get you going.