Basics - Parameter Classes in JasperStudio vs iReports

I openly admit, I have a lot to learn. I am hoping someone can give me a farily simple answer. I have many reports that have been created in iReports 5.6.0. I am wanting to rebuild them and place them on Jasper Server, but there are some basic issues I do not understand regarding class paths. For example, there is a parameter class in iReports called java.util.Collection that is an available drop down in iReports, but is not present in Jasper Studio 6.5.1.  

How can I both find that particluar jar file, and where or how do I transfer it over to the Jasper Studio and Jasper Server so I can use it?

I apologize for my lack of understanding and probably terminology. It is why I am asking the question in the first place.

Thanks,

jowens_1's picture
Joined: Jul 12 2013 - 3:35pm
Last seen: 1 year 1 week ago

Friendly User,

That is interesting that you have the libraries options, and that the dropdown does include that class. the java.util.List is also missing, and I would think it would be by default included. I cannot seem to find them. Could this result in a improper installation and/or incorrect build paths?

jowens_1 - 5 years 4 days ago

3 Answers:

You should be able to manually input the class of java.util.Collection to the parameter type without needing to pre-select it. java.util.Collection is an abstract class that is available with the base Java distribution, shouldn't require you additional JARs to classpath.

Friendly User's picture
Joined: Oct 8 2009 - 5:59am
Last seen: 3 weeks 15 hours ago

Thank you Friendly User. So if I understand you correctly, I would literally just 'type' that input class instead of choosing a dropdown (which does not exist anyway).

jowens_1's picture
Joined: Jul 12 2013 - 3:35pm
Last seen: 1 year 1 week ago

yes, that would be correct. Strange that you don't have a dropdown, in my studio I can click on small triangle to select often-used classes such as java.lang.String or java.util.Date and there is also a "..." button next to the parameter type field which brings up a dialog where you can search the java classes available in the workspace.

Friendly User's picture
Joined: Oct 8 2009 - 5:59am
Last seen: 3 weeks 15 hours ago
Feedback
randomness