How to create a .jar (executable) of a report in ireport?

Good morning, in these last days and worked on my reports made Ireport successfully, now I want to make an executable to not open Ireport every time you want to generate the report. I have searched the internet how to do it, but I can not find the solution. Likewise I have some doubts that I hope you can solve me.
1.- Is it correct that the executable is a file.jar?
2.- Is there another type of executable? .exe for example?
3.- What step should I follow to make the executable?
I appreciate your answers. Thank you

adrianzazu@gmail.com's picture
Joined: Sep 13 2017 - 6:59pm
Last seen: 6 months 1 week ago

3 Answers:

You'll need to create your own executable program using JasperReports library to do that.

There's, also, an open source project offering command line tool but I haven't tried it.

http://jasperstarter.cenote.de/

hozawa's picture
190703
Joined: Apr 24 2010 - 4:31pm
Last seen: 4 years 3 months ago

Try JasperStarter http://jasperstarter.cenote.de/usage.html

It is a tool that allows you to open a jrxml from command line and export the report.

In the case of JasperStarter, you would invoke the JasperStarter jar from command line and it has a basic UI. 

http://jasperstarter.cenote.de/screenshots.html

 

reportdev's picture
12960
Joined: Oct 12 2015 - 12:05pm
Last seen: 1 year 3 months ago

Thanks, hozawa said that I need to create my own executable program using JasperReports library as I do this task ?, where do I find information on how to do it? first of all, Thanks.

adrianzazu@gmail.com's picture
Joined: Sep 13 2017 - 6:59pm
Last seen: 6 months 1 week ago
Feedback