cannot find java exe neither null jre bin java exe nor null bin java exe exists(iReport)

cannot find java exe neither null jre bin java exe nor null bin java exe exists

When I was studying in my university,we have to do certain projects based on our Subjects. Therefore for the first year and second year projects we did desktop applications for Vehicle Management and Hardware management.For the improvement of the our client or the business it is a must to use certain report .It is a fast replacement comparing to the manual reports.We used Java language for those developments and NetBeans 8.1  latest IDE. For the reports we used iReport 5.6.0.
But encountered with the above error even though we installed the latest versions of JDK 1.8.It was kind of a blocker for our development.But finally we overcome that problem and successfully completed the project.

This might help you

  • First I have to install NetBeans IDE.
  • Check whether your JDK version is 1.7 
  • If it is not then download JDK 1.7 ,JRE 1.7 and install.The link is below
  • http://www.oracle.com/technetwork/java/javase/downloads/java-archive-downloads-javase7-521261.html
  • Now try to open iReport 5.6.0
  • If the issue is still there you have to change path in the configurations of iReport 5.6.0
  •  This is the path for the IReport etc file C:\Program Files (x86)\Jaspersoft\iReport-5.6.0\etc
  • You will see ireport.conf file 
  • Now edit it with text editor like notepad++
  • Now go to your JDK 1.7 installed path 
  • C:\Program Files\Java\jdk1.7.0_80\jre
  • Find  #jdkhome="/path/to/jdk" in that file 
  • Type this  jdkhome="C:\Program Files\Java\jdk1.7.0_80\jre"  and save
  • Now try to open iReport 5.6.0

Further more details








  •  Go to your JDK installed path








  • Type this  jdkhome="C:\Program Files\Java\jdk1.7.0_80\jre" below the #jdkhome="/path/to/jdk"

  • Now it will work 

  • Note:In some cases it will work for this path not the JDK path C:\Program Files\Java\jre1.7.0_79




Comments

Popular posts from this blog

Google Drive API (oauth 2.0) Upload Files Java

CSRF - Double Submit Cookie