Run the jar File
Prev | Chapter 7. Installation Using GUI Installer | Next

## Run the jar File

On most systems installing JRE or JDK creates a default association which allows to run the .jar file by just clicking/ double clicking on it. However if nothing happens when you do it there is a way to do it manually. Perform the steps in the following order:

1. If you are on Windows system you can use the command prompt to run the installer directly using the java command.

   1. Click on the Start menu and choose the Run action (You can also use the Win+R shortcut).
   2. You will be presented with a dialog box where you can enter a command. Type "cmd" (or "command" in the case of windows version older then 2000) and submit the window. If you are on a Linux system, you can use a terminal. It should be easily discoverable as it is a standard tool on this platform. Find and run it.

2. Command prompt / terminal will appear. You will be able to check a whether your Java environment is working. To do it type the

       java -version

   command and press Enter. If the message says that the command is not recognised then your Java installation may be corrupt or not configured properly. For correctly setting up JRE/JDK including setting the JAVA_HOME environmental variable please check documentation provided on the JDK download site. Also when the command succeeds please check if the printed version number fulfils Tigase requirements. When many versions of JDK/JRE are installed on one machine java command will need to be invoked with the full path it is placed on.

3. When you have no doubt that you can run the correct java launcher, you may start the installer i.e. for the file tigase-server-4.1.0-b1315.jar downloaded to the c:\download directory type the following command:

       java -jar c:\download\tigase-server-4.1.0-b1315.jar

   This command should start the installer or print an error message explaining what is the cause of problem.

Prev | Up | Next
Download the Installer | Home | Starting the Installation