Before you start, you need to ensure that your environment variables and path are correctly set up to access the requisite components of Celtix Enterprise.
To run the demonstrations described in this document, you need to have the following product installed:
Java Platform, Standard Edition 5.0 (that is, JDK 1.5.x)—you can download the latest JDK from Java SE Downloads.
Example 1.1, “Windows Environment for Celtix” shows an example of a script that sets the environment variables you need to run the demonstrations on Windows.
Example 1.1. Windows Environment for Celtix
@echo off REM Celtix Enterprise Environment set CELTIX_HOME=CeltixInstallDirset JAVA_HOME=JDKInstallDirset ANT_HOME=%CELTIX_HOME%\tools\ant set CLASSPATH=.;%CELTIX_HOME%\lib\cxf-incubator.jar;.\build\classes call "%CELTIX_HOME%\bin\celtix_env.bat" echo Set Celtix Enterprise Environment Variables
Where CeltixInstallDir is the directory where you installed Celtix Enterprise, and JDKInstallDir is the directory where you installed Sun’s Java Platform, Standard Edition.
Example 1.2, “UNIX Environment for Celtix” shows an example of a script that sets the environment variables you need to run the demonstrations on UNIX.
Example 1.2. UNIX Environment for Celtix
#!/bin/sh # Celtix Enterprise Environment CELTIX_HOME=CeltixInstallDirexport CELTIX_HOME JAVA_HOME=JDKInstallDirexport JAVA_HOME ANT_HOME=$CELTIX_HOME/tools/ant export ANT_HOME CLASSPATH=.:$CELTIX_HOME/lib/cxf-incubator.jar:./build/classes export CLASSPATH . $CELTIX_HOME/bin/celtix_env.sh echo Set Celtix Enterprise Environment Variables
Where CeltixInstallDir is the directory where you installed Celtix Enterprise, and JDKInstallDir is the directory where you installed Sun’s Java Platform, Standard Edition.