## Solving installation problems

Below are some known problems you may encounter during the installation. In the event of this happening, see this section first before seeking help.

### JReport Enterprise Server installer cannot find JVM

To perform the installation, the JReport Enterprise Server installer must find and verify a suitable JVM. However, in rare cases, the installer cannot pass the JVM verification procedure. You will get an error such as JVM not found even when there is already a JDK installed. The steps below describe a method for bypassing the JVM verification process during installation. Here JReport Enterprise Server for UNIX is used as the example for the steps:

1. Download the JReport Enterprise Server installation file EntSvrSetup.sh into a directory from the Jinfonet download center: http://www.jinfonet.com/downloadjreport/.
2. Open a console and go to the directory where you saved your installation file. Then use the command:

   `$ sh EntSvrSetup.sh -is:extract`

   to extract the installation file. This option creates a temporary folder (for example, named istemp39400) in the current directory, and then extracts installation files into the new directory.

   Note: For a Windows machine, no folder will be created. You will find the extracted files in the current directory.

3. Go to the new directory, and run `$ java -jar EntSvrSetup.jar`.

   This will launch a GUI installer. Follow the steps in section Installing using the Installation Wizard to finish the installation.

### No enough space for the temp directory

The InstallShield Wizard will generate temporary files during installation. You can specify the temp directory with the `-is:tempdir` option as below. Otherwise, a system temp directory will be used, in which case, make sure that there is enough space for the temporary files. If there is not enough space, a warning dialog will be shown. The temporary files are removed automatically once the installation is complete.

`EntSvrSetup.exe -is:tempdir c:\temp`

or

`$ sh EntSvrSetup.sh -is:tempdir /tmp`

If you run into any problems when installing JReport Enterprise Server, you can use this command to log the debug messages:

`EntSvrSetup.exe -is:log c:\DebugMessage.txt`

or

`$ sh EntSvrSetup.sh -is:log /tmp/DebugMessage.txt`

Feel free to send your questions to support@jinfonet.com.