Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iReport not starting using JRE 8

Tags:

ireport

I have downloaded and installed the iReport 4.5 using te Windows installer. But when I try to start the iReport it shows the splash screen but does not start.

My JRE version is 8.

like image 299
user2717410 Avatar asked May 28 '14 04:05

user2717410


People also ask

Why iReport is not opening?

The iReport splash screen is shown when the iReport is started from the TrayLauncher and from C:\IMSMAng\iReport\bin but the application does not start. One known reason for this is that a new version of Java than 1.7 is installed on the computer. Edit the file C:\IMSMAng\iReport\etc\ireport. conf.

How do I launch an iReport?

Windows Binary Installation To install iReport, double-click iReport-nb-x.x.x-windows-installer.exe. At the end of the installation process, you get a new menu item in the Program files menu (Program files â†' JasperSoft â†' iReport-nb-x.x.x).


1 Answers

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 https://sourceforge.net/projects/ireport/files/iReport/iReport-5.6.0/

2) Download jre-7u67-windows-x64.tar.gz (the one packed in a tar) from https://www.oracle.com/technetwork/java/javase/downloads/java-archive-downloads-javase7-521261.html

3) 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:

enter image description here

and then go into the etc folder and edit the file ireport.conf and add the following line into it:

For Windows jdkhome=".\jre1.7.0_67"

For Linux jdkhome="./jre1.7.0_67"

Note : jre version may change! according to your download of 1.7

enter image description here

now if you run the ireport_w.exe from the bin folder in the iReport directory it should load just fine.

like image 53
xtsoler Avatar answered Sep 20 '22 16:09

xtsoler