iReport not opening? Java 8 may be the issue

 
Author
Message
Super SysAider
61
 
Hi All,

I ran in to this problem some time ago whereby for no apparent reason, when I ran iReport the splash screen would appear, but no loading took place, the usual progress bar made no progress.
I have since had a few support calls about this same issue, so I figure I will post the solution here.

The culprit is Java 8 as iReport is not compatible with Java 8 run time - well at least version 3.7.6 is not.
To resolve this issue, simply install the Java 7 JDK (unless already installed) on the machine on which iReport is installed and then configure iReport to use the JDK rather than your local JRE.

2 easy steps:
-----------------------
1. Download and install JDK7
(http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html)

2. Modify the iReport config file 'ireport.conf' found in the 'etc' folder in the iReport installation directory.
(on a Windows instance; possibly: C:\Program Files\iReport-3.7.6\etc\)

Open the file in Notepad or equivalent plain text editor and find the line:

Add a new line below it and replicate the property name (without the hash/"#") with the correct path to your new JDK install, Eg:

*File paths are not necessarily correct for your system they are just for examples and are based on a Windows environment, please double check your install paths.

-------------------
Here is an unmodified ireport.conf for a 3.7.6 install in case anything goes wrong.

This message was edited 5 times. Last update was at Aug. 30, 2015 10:22 PM

SysAid Product Manager Community Manager
5260
 
Great guide, Cael! Thanks a lot for sharing it here

Cheers,
Danny
SysAider
4
 
This solution worked for me. Running on Windows 7 64 bit Dell.
SysAider
1
 
Thank you so much for sharing the information. It has solved my problem
SysAider
1
 
Hi...I am happy that the article worked for some of your guys...however as for me I am not sure I am following. I could not find the ireport.config even after searching for it in my entire Computer. I am running ireport directly from netbeans as it was installed through the ireport (1383067774_iReport-5.5.0-plugin) and I would like to be assisted on how I can configure my ireport in order for my reports to run from a jar file in a PC (windows machine) that does not have a Jasper Report Designer tool installed in it.

Again, you can also assist me on what the requirements are for me to run the reports from a jar are.

Thanks in advance
SysAider
1
 
Thank you so much for sharing the information. I had the same issue under OSX and It has solved my problem !!!
SysAider
2
 
Hi,
Even I am using iReport 3.7.0 and JDK 1.8. However I am able to create reports and execute them without any issues. To change the JDK version in iReport we need to open
X:\iReport-3.7.0\etc\ireport.conf and change the
=== jdkhome="C:\Program Files\Java\jdk1.8.0_191"====

It is worked fine for me.
SysAider
2
 
Hi,