## 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 from the Jinfonet download center: http://www.jinfonet.com/downloadjreport/.
2. Click the installation file to launch the Installation Wizard. Alternatively, you can open a console window, and change the directory to the location of the file. The following are examples of the commands that can be used.

   `$ cd thepath`

   To make the installation file executable, type the command:

   `$ chmod +x jrdesigner-xxx-linux.bin` (change jrdesigner-xxx-linux.bin to the real file name of the installation file)

   To run the installation file:

   `$ ./jrdesigner-xxx-linux.bin` (change jrdesigner-xxx-linux.bin to the real file name of the installation file)

3. Once the Installation 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 Installation 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 try either way:
  - Set JAVA_HOME variable and append `$JAVA_HOME/bin` to PATH variable in system environment.

  - Specify a JVM for Installation Wizard with the option `LAX_VM` as follows:

    `$ ./jrdesigner-xxx-linux.bin `LAX_VM` "/home/jdk1.6.0_17/bin/java"` (change jrdesigner-xxx-linux.bin to the real file name of the installation file)

    The JDK path should use absolute path and be quoted by "".

- You are recommended to use JDK 6 or higher versions.

### 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 the uninstaller file:

`$ ./uninstaller`