Go to the ireport.conf file located in / Applications / Jaspersoft iReport Designer.app/Contents/Resources/ireport/etc
write the following command sudo nano ireport.conf uncomment #jdkhome .
jdkhome = "/Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/home"
If this does not work, insert this route or fence into the path: /Library/Java/JavaVirtualMachines and look, find the jdk1.7.0_80.jdk folder with Java 7 installed until you reach the contents of /Contents/home .
There should be something like this:
/Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/home
Tested on Mac OS Mojave 10.14.5 with Java 7.
oscar apata
source share