How to use command line to open a JRXML report


Hello all,

In my code call iReport to open a jrxml report with the following syntax: iReport report1.jrxm.

however i can't do the same with JasperStuio.

Would you please help me using command line to open a rxml file with jasperstudio.

Thank you

ng. Son

ngs0001's picture
Joined: Oct 23 2013 - 9:37pm
Last seen: 5 years 7 months ago

1 Answer:


you can open also with Jaspersoft Studio from command line. 
Since Jaspersoft Studio it's an Eclipse based application you will have to go with the "Eclipse way".

Therefore you will need to launch your JSS like this:

# /opt/jaspersoft/<jaspersoftstudioversion>/ $ ./Jaspersoft\ Studio --launcher.openFile /tmp/MySampleReport.jrxml

This is a Linux example, but the same should apply also for Windows / Mac using the same "--launcher.openFile <file>" option.

Not sure what is the use case for this, but please remember that since JSS is Eclipse based and uses projects inside the workspace, the following operation will result in opening the JRXML but you will see in MyProject a link for the external file.

Best regards,


mrabbi's picture
Joined: Oct 31 2011 - 9:20am
Last seen: 1 month 1 week ago

Hello mrabbi,
Thank you for your help. Your support helped me solve the my problem.

ngs0001 - 6 years 7 months ago

Glad, it did.

Best regards,

mrabbi - 6 years 7 months ago