I have jrxml file, I want to compile this to get .jasper. How do I compile and get that jasper
For anyone coming across this question who uses Jaspersoft Studio (which, I think, is replacing iReports; it's quite similar, still freeware, just based on eclipse), look for the "Compile Report" icon on top of the editor area of your .jrxml file. Its icon, first in that line of icons, is a file with binary numbers on it (at least in version 5.6.2):
Clicking this icon will generate the .jasper file in the same directory as the .jrxml file.
You can also Preview your report so it's automatically compiled.
Using Version 5.1.0:
Just click preview and it will create a YourReportName.jasper for you in the same working directory.
I'm using iReport 2.0.2 to generate the jasper file.
I didn't found the hammer logo, but I have a menu create > compile
in the menu bar who create the the jasper file in the iReport program files folder :
IReport Logs :"Compilation vers le fichier... .\SalesOrderItemsSubreportA4.jasper -> C:\Program Files\JasperSoft\iReport-2.0.2\SalesOrderItemsSubreportA4.java"
In iReport 5.5.0, just right click the report base hierarchy in Report Inspector Bloc Window viewer, then click Compile Report
You can now see the result in the console down. If no Errors, you may see something like this.