When upgrading to Jaspersoft 7.8, it is failing with the message "invalid tomcat directory"
Some options you can try to help the installer:
Best practice is to leave out the reference to the bin folder when creating the environment variable.
The %JRE_HOME%\bin can then added/referenced in the PATH variable. This is to prevent the Jaspersoft script from failing.