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?
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