Hi Lucian! Thanks for your suggestion but I'm pretty new to Java too. :blush: I've red the documentation on scriptlets and tried to run the scriptlet example from the samples page. I can't get even this working. When I compile the report without changing it it anyhow I get the ClassNotFoundException. Even if I set the Scriptlet property of the document to Use iReport internal scriptlet support, I still have the same error. Found the thread with the same problem on forum but without a solution. Maybe you can point me to some more information on this subject, where could I read some more about Scriptlet property for example, Scriptlet class, maybe some other example or tutorial. Thanks! BB