For starting the application you need to set the JAVA_HOME environment variable to the path where JDK is installed.
To set JAVA_HOME on Microsoft Windows:
- Right click My Computer.
- Click Properties.
- Click the Advanced tab (or click Advanced system settings in Windows Vista.)
- Click the Environment Variables.
- Under System variables, click New.
- Set variable name to JAVA_HOME and variable value to the path of JDK (C:\Program Files\Java\jdk1.6.0_14).
- Click OK.
- Click OK on the Advanced tab to close the window.
To verify if your JAVA_HOME is set, follow the steps below :
Open a command prompt and type %JAVA_HOME%\bin\java -version and you should see something as shown below:
c:> "%JAVA_HOME%\bin\java" -version java version "1.6.0_14" Java(TM) SE Runtime Environment (build 1.6.0_14-b08) Java HotSpot(TM) Client VM (build 14.0-b16, mixed mode, sharing) c:>
To set JAVA_HOME on Linux:
- Open a terminal and login as the user who can start Celoxis application.
- In the appropriate profile file (e.g. .bash_profile or .profile), type: export JAVA_HOME=/usr/java/jdk1.6.0_14
( You need to replace the /usr/java/jdk1.6.0_14 with the path where you have installed Java) - Save the file.
- Logout and Login again.
To verify if your JAVA_HOME is set, follow the steps below :
Open the Linux shell and type $JAVA_HOME/bin/java -version and you should see something as shown below :
$ $JAVA_HOME/bin/java -version java version "1.6.0_14" Java(TM) SE Runtime Environment (build 1.6.0_14-b08) Java HotSpot(TM) Client VM (build 14.0-b16, mixed mode, sharing) $
Points to note:
- Always verify that the JAVA_HOME variable is set properly by verifying the steps mentioned above. If it is set correctly, the version of Java will be printed. Else, you should get an error.
- We currently support JDK 6 only.
- Only one version of Java should be installed on your server where you are installing Celoxis.
- If your operating system is 32-bit, you will have to download 32-bit Java. Similarly, 64-bit OS will need 64-bit Java.