ldl720 Posted March 28, 2014 Share Posted March 28, 2014 Install the new version of JDK 8 and stopped working iReport Designer. I was running the iReport-5.0.0 version and install the latest version of iReport-5.5.0 but the problem persists. When I try to run from the command window ireport_w.exe tells me the following "The current path is: C: Java jdk1.8.0The current path is: C: Java jdk1.8.0Java HotSpot 64-Bit Server VM warning: ignoring option MaxPermSize = 512m; support was removed in 8.0. " What should I do to run iReport Designer with JDK 8? Link to comment Share on other sites More sharing options...
ldl720 Posted March 28, 2014 Author Share Posted March 28, 2014 In the previous post I forgot to indicate that eliminates the "-J-XX: MaxPermSize = 512m" File "ireport.conf" to see if this problem was solved, but the problem persists. Link to comment Share on other sites More sharing options...
hozawa Posted March 28, 2014 Share Posted March 28, 2014 iReport doesn't support JDK8! Down grade to JDK7. Link to comment Share on other sites More sharing options...
ldl720 Posted March 28, 2014 Author Share Posted March 28, 2014 U! That problem I have already updated my soft JDK 8. I can tell iReport somehow run with JDK 7 version? Thank you Link to comment Share on other sites More sharing options...
hozawa Posted March 28, 2014 Share Posted March 28, 2014 This is really a simple question on how to use Java on Windows and doesn't concern JasperReports.Nevertheless, check the following page on instruction on how to setup Windows to switch between different versions of JDK.https://blogs.oracle.com/pranav/entry/switch_between_different_jdk_v Link to comment Share on other sites More sharing options...
ldl720 Posted March 28, 2014 Author Share Posted March 28, 2014 Thanks for responding. By way of comment, in case anyone has the same problem, I solve it by modifying the parameter JDKHOME = "C: Java jdk1.7.0_45" in ireport.conf file. Thus iReport starts with JDK 7 and my software works with JDK 8. Link to comment Share on other sites More sharing options...
hozawa Posted March 29, 2014 Share Posted March 29, 2014 Thank you for sharing your solution with us. For all others, ireport.conf file is in iReportetc folder. Link to comment Share on other sites More sharing options...
hozawa Posted March 29, 2014 Share Posted March 29, 2014 For those using Jaspersoft Studio, the JDK is specified in "Jaspersoft Studio.ini"Change the line below to point to your JDK.-vmfeatures/jre.win32.win32.x86_64.feature_1.7.0.u25/jre/bin Link to comment Share on other sites More sharing options...
matteo.biviglia Posted November 10, 2014 Share Posted November 10, 2014 If you set your JDKHOME on ireport.conf you compile your reports with jdk 1.7 but if you have to load java bean datasource compiled with 1.8 you receive a "major minor version 52.0". So this solution don't fix problem of jdk 8 and ireport compatibility! Link to comment Share on other sites More sharing options...
jeffrey.hegeman Posted May 4, 2015 Share Posted May 4, 2015 I found this on Stack Overflow, and it was the solution I was looking for. I hope it helps all of you!There's another way if you don't want to have older Java versions installed you can do the following:1) Download the iReport-5.6.0.zip from http://community.jaspersoft.com/project/ireport-designer/releases2) Download jre-7u67-windows-x64.tar.gz (the one packed in a tar) fromhttp://www.oracle.com/technetwork/java/javase/downloads/jre7-downloads-1880261.html3) Extract the iReport and in the extracted folder that contains the bin and etc folders throw in the jre. For example if you unpack twice the jre-7u67-windows-x64.tar.gz you end up with a folder named jre1.7.0_67. Put that folder in the iReport-5.6.0 directory:and then go into the etc folder and edit the file ireport.conf and add the following line into it:jdkhome=".jre1.7.0_67"now if you run the ireport_w.exe from the bin folder in the iReport directory it should load just fine. Link to comment Share on other sites More sharing options...
alexis5999 Posted September 29, 2015 Share Posted September 29, 2015 persiste el error a pesar que realizo esas modificaciones Link to comment Share on other sites More sharing options...
chatphol.t Posted October 20, 2016 Share Posted October 20, 2016 a answer of ldl720 user is great solution.http://community.jaspersoft.com/sites/all/libraries/ckeditor/plugins/smiley/images/thumbs_up.gif ldl720 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