## JReport Designer on UNIX

### Installing JReport Designer on UNIX

To install JReport Designer on UNIX, follow the steps below:

1. Download the JReport Designer installation file for UNIX jrpsetup.sh from the Jinfonet download center: http://www.jinfonet.com/downloadjreport/.
2. Click the executable file jrpsetup.sh to launch the InstallShield Wizard. Alternatively, you can open a console window, and change the directory to the location of the jrpsetup.sh file. The following are examples of the commands that can be used.

   `$ cd thepath`

   To make jrpsetup.sh executable, type the command:

   `$ chmod +x jrpsetup.sh`

   To run jrpsetup.sh:

   `$ ./jrpsetup.sh`

3. Once the InstallShield Wizard has been successfully loaded, you can then follow the default prompt to install JReport Designer.

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 specify a JVM for the InstallShield Wizard with the option -is:javahome as below.
  `$ ./jrpsetup.sh is:javahome /home/j2sdk1.4.2`
- You are recommended to use JDK version 1.4.2 or later version.
- In addition, 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.sh is:tempdir /home/temp`

### Running JReport Designer on UNIX

To run JReport Designer on UNIX, run the script file JReport.sh in `<install_root>/bin`. You can modify this script file by adding additional classes before launching JReport Designer.

`$ ./JReport.sh`

### Uninstalling JReport Designer on UNIX

To uninstall JReport Designer on UNIX, execute uninstaller.sh in `<install_root>/_uninst`.

Alternatively, you can open a console window, and change the directory to the location of the uninstaller.sh file. The following are examples of the commands that can be used:

`$ cd thepath`

Run uninstaller.sh:

`$ ./uninstaller.sh`