afusaru Posted June 3, 2019 Share Posted June 3, 2019 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 More sharing options...
Solution C-Box Posted June 5, 2019 Solution Share Posted June 5, 2019 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 problemregardsC-Box Link to comment Share on other sites More sharing options...
afusaru Posted June 10, 2019 Author Share Posted June 10, 2019 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 problemRegards,Alin Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now