ireport 5.5.0 won't start

1

Error

Cannot find java.exe

Neither (null)\jre\bin\java.exe nor (null) \bin\jave.exe exists

 

OS - Windows 7 64 bit

JDK Versoin - 1.7.0.45

 

angel.stewart.ctr's picture
Joined: Nov 1 2013 - 6:27am
Last seen: 5 years 8 months ago

1 Answer:

0

You'll have to modify the ireport.conf file to specify the JDK you want iReport to use.

Going through the install Windows 7 x64 will specify the default path to the x86 program files. I.E. "Program Files (x86)"  Change this to "Program Files" then make the changes in the config file.


You'll find the ireportpro.conf file under [ireport_install_directory]\\etc\\ireportpro.conf. If you installed iReport with the installer, there's an ireport folder in the folder where you installed JasperReports Server.

There are two lines in that file that I would change:

Uncomment out the jdk home setting, and point it explicity to where you've installed th 64-bit JDK 1.7. Change it from:

#jdkhome="/path/to/jdk"

To something like what you see below:

jdkhome="C:\\Program Files\\Java\\jdk1.7.0"

I would also change the "default_options" line from:

default_options="-J-Xms24m -J-Xmx512m -J-Dorg.netbeans.ProxyClassLoader.level=1000 -J-XX:MaxPermSize=256m"

to something that gives the JVM running iReport more memory and a lower MaxPermSize value. An

default_options="-J-Xms1024m -J-Xmx1024m -J-Dorg.netbeans.ProxyClassLoader.level=1000 -J-XX:MaxPermSize=128m"

Enjoy!

 

Java_Jasper's picture
Joined: Jan 17 2012 - 10:13am
Last seen: 3 years 7 months ago

this line directed me to the solution." Going through the install Windows 7 x64 will specify the default path to the x86 program files. I.E. "Program Files (x86)" Change this to "Program Files" then make the changes in the config file."

after a big search, reinstalls and changing the ireport.conf.
i got a message that i had two types of browsers? 32 bit and 64, therefore I needed to install two tipes of java.
But after i installed the " jdk-7u9-windows-i586.exe" on my 64bit windows it worked allready? thnks JJ

martin_7 - 4 years 8 months ago

I am glad you found the problem, based on my reply.

Java_Jasper - 4 years 7 months ago

It works for me !!!

medoune.boye - 4 years 5 months ago
show 1 more...

man I've loved u without seeing u !!

ahmed.samaali - 3 years 8 months ago
Feedback
randomness