Macos – iReport not launching on OS X Yosemite

ireportmacos

I have iReport Designer versions 3.7.2, 4.5, 4.7.1, & 5.6.0 installed on my mac. Since upgrading to Yosemite yesterday, I cannot launch any of them.

In the console I get:

"10/18/14 11:30:32.754 AM com.apple.xpc.launchd[1]: (com.apple.xpc.launchd.oneshot.0x10000013.ireport[37460]) Service exited with abnormal code: 2"

Not sure how to get around this, I'm sure it is something fairly simple.

Best Answer

The solution for me was to change the content of the file ireport.conf located in the directory /Applications/Jaspersoft iReport Designer.app/Contents/Resources/ireport/etc under the line with this text

# default location of JDK/JRE, can be overridden by using --jdkhome switch

i uncommented the next line and changed it for this jdkhome="/Library/Java/JavaVirtualMachines/jdk1.7.0_55.jdk/Contents/Home" and now is working.