Jump to content
We've recently updated our Privacy Statement, available here ×

Embedded jasperreports java desktop aplication


afusaru
Go to solution Solved by C-Box,

Recommended Posts

Hello,

I have a java desktop application where I embedded a JasperReport, but upon deployment, when then end user runs the installed application, the JasperViewer does not show if the JDK is not installed and the path is not set in the System Enviroment Variables. Is there anyway to avoid this? 

 

 

 

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

  • Solution

IMHO you won't need a full JDK installed at a client just to use the jasperreports built-in viewer. A JRE should be enough, as our customers also just use a runtime.

So probably a library is missing, so there should be thrown an exception - please post the stacktrace to identify the problem

regards

C-Box

Link to comment
Share on other sites

Thank you C-Box, you were right, the compiler library was missing, but when I added the library it took a lot to compile, after 9 minutes of waiting did not get the viewer shown, most likely i am doing something wrong but then I realized i do not need to compile the jrxml as the template is not modified by the end-user so instead i compiled the jrxml using the jasper studio and that is the file that will be populated, and now is even faster.

Thank you for the hint, that sholved my problem

Regards,

Alin

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...