# Jasper Reports

**URL:** <https://forum.servoy.com/t/jasper-reports/12217>\
**Category:** Classic Servoy\
**Created:** [May 21, 2010, 6:29pm UTC](https://forum.servoy.com/t/jasper-reports/12217 "2010-05-21T18:29:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mo\_ca\_mo](https://avatars.discourse-cdn.com/v4/letter/m/dfb087/32.png) [@mo\_ca\_mo](https://forum.servoy.com/u/mo_ca_mo)\
**Post date:** [May 21, 2010, 6:29pm UTC](https://forum.servoy.com/t/jasper-reports/12217/1 "2010-05-21T18:29:53Z")

</div>

Hello,  
I am trying to export or show a pdf file using jasper Reports  
I follow the tutorial on:  
[http://www.servoy.com/downloads/tutoria … eport.html](http://www.servoy.com/downloads/tutorials/jasper_reports/jasper_basic_report/JasperBasicReport.html)

I made the “report.jrxml” file  
and now i was trying to use the runReport Comand:  
plugins.jasperPluginRMI.runReport(controller.getServerName(),‘report1.jrxm’,null,‘view’,null);

I have an error because the second argument of the method is null (‘report1.jrxml’)

in the tutorial is showed how to set the directory where the file is located.  
But in the version 5.0.1 i am using i havent found where to set it

Sorry for my english mistakes, hope you understand it and thank for your help

---

<div class="post-metadata">

**Author:** ![jbader](https://avatars.discourse-cdn.com/v4/letter/j/dfb087/32.png) [@jbader](https://forum.servoy.com/u/jbader)\
**Post date:** [May 21, 2010, 8:18pm UTC](https://forum.servoy.com/t/jasper-reports/12217/2 "2010-05-21T20:18:43Z")

</div>

> how to set the directory where the file is located

The Jasper plugin has some properties that need to be set on the server…

Load up your local instance of application server e.g.: [http://localhost:8080/servoy-admin](http://localhost:8080/servoy-admin)

Click “Server Plugins”

Find “jasperPluginRMI”

Then fill in a path in the “directory.jasper.report” field

Kickstart Servoy Developer, which will in turn kickstart your local application server instance
