After installing the iReport-Professional client, the client reports: 'JDK 5.0 or newer cannot be found in your machine'

book

Article ID: 34652

calendar_today

Updated On:

Products

DX Infrastructure Management NIMSOFT PROBES

Issue/Introduction

Introduction

One of the prerequisites for using the iReport client is that an SDK 1.5 or above has been installed.? The client will work with a JDK as well.? However, upon installation it may not be configured to use the installed JRE and will display an error as shown upon opening the client:

<Please see attached file for image>

Error on iReport-Professional startup.


If so, check the ireportpro.conf file located in:? <jaspersoft>\iReport-Professional-4.5.0\etc

Check the contents of the file.? It will probably look like this and will need to be edited:

# ${HOME} will be replaced by user home directory according to platform
default_userdir="${HOME}/.${APPNAME}/4.5.0"
default_mac_userdir="${HOME}/Library/Application Support/${APPNAME}/4.5.0"

# options used by the launcher by default, can be overridden by explicit
# command line switches
default_options="-J-Xms24m -J-Xmx512m -J-Dorg.netbeans.ProxyClassLoader.level=1000 -J-XX:MaxPermSize=256m"
# for development purposes you may wish to append: -J-Dnetbeans.logger.console=true -J-ea

# default location of JDK/JRE, can be overridden by using --jdkhome <dir> switch
#jdkhome="/path/to/jdk"

# clusters' paths separated by path.separator (semicolon on Windows, colon on Unices)
#extra_clusters=






Procedure

  1. Uncomment the line:? #jdkhome="/path/to/jdk"
  2. Point the jdkhome to location of your installed JDK, for example:? jdkhome="C:\Program Files\Java\jdk1.6.0_37"
  3. Restart the iReport client

The ireportpro.conf file should look like this after editing:
?

# ${HOME} will be replaced by user home directory according to platform
default_userdir="${HOME}/.${APPNAME}/4.5.0"
default_mac_userdir="${HOME}/Library/Application Support/${APPNAME}/4.5.0"

# options used by the launcher by default, can be overridden by explicit
# command line switches
default_options="-J-Xms24m -J-Xmx512m -J-Dorg.netbeans.ProxyClassLoader.level=1000 -J-XX:MaxPermSize=256m"
# for development purposes you may wish to append: -J-Dnetbeans.logger.console=true -J-ea

# default location of JDK/JRE, can be overridden by using --jdkhome <dir> switch
jdkhome="C:\Program Files\Java\jdk1.6.0_37"

# clusters' paths separated by path.separator (semicolon on Windows, colon on Unices)
#extra_clusters=




keywords: Setup iReport Professional client application app Java JRE account aware reports iReport setup pro professional configure error popup unable Unable launch Launch jdk JDK cannot be found machine cannot Cannot find java.eve

Environment

Release:
Component: CAUIM

Attachments

1558699691990000034652_sktwi1f5rjvs16ors.jpeg get_app