wethippie Posted February 7, 2013 Share Posted February 7, 2013 With the oracle JDK installed it appears that iReport is not functioning correctly due to some class or AWT changes. The Quit iReport menu item doesn't work at all, and there's no Preferences option on the application menu. Preferences don't appear to show up anywhere else on menus that I can find either. To quit the application, I have to use Force Quit. My install is required to use Java7 due to the integration of some third party Java custom data sources, so using the stock Java 6 that comes with OS/X doesn't help at all. Right now, to do any configuration, I have to hand-edit the ireport.properties file. I've tried several tips, such as manually setting a few command line parameters to try to get it to understand that this is a normal JDK version, not the Apple platform version, but none seem to help.Any suggestions on how to get this thing functioning like it should? Attached is a screen grab of the app menu showing the missing bits. Link to comment Share on other sites More sharing options...
marianol Posted February 7, 2013 Share Posted February 7, 2013 I don't know which version of iReport you are using but this will works with all the 4.x and 5.x versions. I had iReport installed on my Mac before the Java7 update so I did not see any issues. What you can do is tell iReport to use the 1.6 or 1.5 JDK or JREIf you go to your application folder Applications/iReportPro-5.0.0/. Right click on Jaspersoft iReport Designer Professional.app and select "Show package Contents".Once there navgate to /Contents/Resources/ireportpro/etc/ and open ireportpro.conf in your favorite text editor. And edit the default JDK/JRW location to point to the Previous JDK/JRE version. Sample below: ---# ${HOME} will be replaced by user home directory according to platformdefault_userdir="${HOME}/.${APPNAME}/5.0.0"default_mac_userdir="${HOME}/Library/Application Support/${APPNAME}/5.0.0" # options used by the launcher by default, can be overridden by explicit# command line switchesdefault_options="-J-Xms24m -J-Xmx512m -J-Dorg.netbeans.ProxyClassLoader.level=1000 -J-XX:MaxPermSize=256m"# for development purposes you may wish to append: -J-Dnetbeans.logger.console=true -J-ea # default location of JDK/JRE, can be overridden by using --jdkhome switchjdkhome="/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Home" # clusters' paths separated by path.separator (semicolon on Windows, colon on Unices)#extra_clusters=--- Link to comment Share on other sites More sharing options...
wethippie Posted February 7, 2013 Author Share Posted February 7, 2013 Thanks. I know it works with previous versions of java, but as I stated in my original post, I'm required to use Java 7 due to external dependencies. FWIW, the same problem has existed from iReport from 4.5 through to the current 5.0.1. Link to comment Share on other sites More sharing options...
marianol Posted February 8, 2013 Share Posted February 8, 2013 Have you tried using Jaspersoft Studio Instead? http://community.jaspersoft.com/project/jaspersoft-studio/releases the new version 2 is pretty solid and will do all iReport does plus some extra features. Just out of curiosity, since you are using iReport as a stand alone, what dependencies you have on Java 7? scriptlets? Link to comment Share on other sites More sharing options...
wethippie Posted February 9, 2013 Author Share Posted February 9, 2013 I saw that it got released a few days ago. Shied away from 1.x because it was horribly unstable, particularly for use with business users. I'm going to give it a go and see if the stability is better. Will report back in a few days. The dependencies are on a collection of custom query executors and data sources. Thankfully no query designers or stuff at the desktop tool level that would need to be ported. Link to comment Share on other sites More sharing options...
adriano70 Posted January 11, 2014 Share Posted January 11, 2014 iReport Designer 5.5.0 com jdk 7No Mac OS X Maverick, altere o arquivo ireport.conf no diretorio /Applications/Jaspersoft iReport Designer.app/Contents/Resources/ireport/etcAltere a linha #jdkhome="/path/to/jdk"para jdkhome="/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home" 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