## JReport Designer on Windows

### Installing JReport Designer on Windows

Follow the steps listed below to install JReport Designer on Windows:

1. Download the JReport Designer installation file for Windows jrpsetup.exe from the Jinfonet download center: http://www.jinfonet.com/downloadjreport/.
2. Run jrpsetup.exe and follow the default prompts to install.

During the installation, pay attention to the following:

- The InstallShield Wizard will first find a JVM to get started. If no JVM is found, the JReport installer will fail to launch. To resolve this issue, you can install JReport from DOS command by specifying the -is:javahome option for the InstallShield Wizard as below:

  `jrpsetup.exe -is:javahome d:\j2sdk1.4.2`

- The InstallShield Wizard will generate temp files during installation. You can specify a temp directory with the - is:tempdir option as below. Otherwise, the system temp directory will be used. These temp files are automatically removed once the installation is complete.

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

- You are recommended to use JDK version 1.4.2 or later version.
- The installer provides you with a choice to install Crystal Converter, if you have Crystal Reports 8.5 or later installed on your machine.
- The installer allows you to add additional class paths. Also, after installation, you can choose to add them manually into the JReport.bat or setenv.bat file in `<install_root>\bin`.
- If you select to install JReport Designer into a folder that already contains an existing copy, the installer will replace the packages and create new batch/script files. Meanwhile, a copy of the old batch/shell files will be kept for your reference. You are recommended to use the batch/script files that come with the installer to ensure that all new packages have been added into the class path.

#### An issue on Vista (a platform of Windows)

Problem

When running JReport Designer's installer on Vista, the installer cannot find the browser and the installed JDKs, or when running installers of other JReport products, the installer cannot find the installed JDKs. These browsers are supported in JReport Designer's installer: IE, Netscape, and Firefox.

Reason

By default Vista's security settings are stricter than Win XP, 2003 and 2000. The children processes do not inherit the execution right from their parent process.

Solution

Make the compatibility property of the installer file (.exe) available:

1. Right-click the installer file, and select Properties from the shortcut menu.
2. In the Compatibility mode panel of the Compatibility tab, check the Run this program in compatibility mode for option, and then select Windows 2000 from the drop-down list.
3. Click OK.
4. Run the installer.

### Running JReport Designer on Windows

Use one of the following ways to run JReport Designer on Windows:

- Double-click the JReport Designer 9.0 shortcut on your desktop.
- Click Start > All Programs > JReport 9.0 > Designer.
- Run the JREntServer.bat/JREntServer.sh file located in `<install_root>\bin`.
- Run the startup batch file from a MS-DOS command prompt. For example, assume that JReport Designer has been installed in `C:\JReport\Designer`, you can type the following commands:

  `C:\>cd JReport\Designer\bin
  C:\JReport\Designer\bin>jreport.bat`

### Uninstalling JReport Designer on Windows

Use either of the following ways to uninstall JReport Designer on Windows:

- From the Control Panel, open Add or Remove Programs, and then select JReport Designer 9 Service Pack 1 Update 2 to remove it.
- Run uninstaller.exe in `<i` `nstall_root>\_uninst`.

Note: The uninstaller removes all files that were generated by the installer, while any files that were created later by the program are retained. These files should be removed manually.