IBM Content Manager OnDemand

Setting up the ODWEK application development environment

To set up the ODWEK application development environment on your system, you must make sure that ODWEK has access to the following files or objects:

  1. Library files
  2. For AIX, HP-UX Itanium, Linux, Solaris, and z/OS: shared objects
  3. For Windows: DLLs

To provide ODWEK with access to these files or objects, do one of the following tasks:

Table 2 describes which environment variables to set for your operating system. For AIX, HP-UX Itanium, Linux, and Solaris, the values listed in the table assume that you installed ODWEK in the default installation directory. If you specified a different installation directory, substitute /opt/IBM/ondemand/V9 or /opt/ibm/odwek/V9 with the directory that you specified.

Table 2. Environment variables to set for each operating system supported by ODWEK.
Operating system Environment variable Value to specify or task to complete
AIX LIBPATH /opt/IBM/odwek/V9
AIX CLASSPATH /opt/IBM/odwek/V9/api/ODApi.jar
HP-UX Itanium SHLIB_PATH /opt/IBM/odwek/V9
HP-UX Itanium CLASSPATH /opt/IBM/ODWEK/V9/api/ODApi.jar
i LIBPATH, PATH, and CLASSPATH Set up exports by running the following commands:
export LIBPATH=/QSYS.LIB/QRDARS.LIB
export PATH=/usr/bin:/your__path
export -s CLASSPATH=/QIBM/ProdData/OnDemand/www/api/ODApi.jar:/your_path
If you store your Java code in the /ODWEKJAVA directory in the IFS (Integrated File System), substitute your_path with ODWEKJAVA.
Linux LD_LIBRARY_PATH /opt/ibm/odwek/V9
Linux CLASSPATH /opt/ibm/odwek/V9/api/ODApi.jar
Solaris LD_LIBRARY_PATH /opt/IBM/odwek/V9
Solaris CLASSPATH /opt/IBM/odwek/V9/api/ODApi.jar
Windows PATH Make sure your PATH contains x:\install_dir\DLL;, where x is the drive on which you installed OnDemand and install_dir is the installation directory for the OnDemand software.
Windows CLASSPATH Make sure that your CLASSPATH contains x:\class_library_dir\WWW\API\ODApi.jar, where x is the drive on which you installed OnDemand and class_library_dir is the installation directory for the class library.
z/OS Libpath, Classpath To configure the libarswwwsl32.so shared library and the CLASSPATH property, see "Deploying the EAR file" in Deploying a Java servlet version of ODWEK on z/OS .


Last updated: November 2013
Copyright IBM Corporation 2013.
This information center is powered by Eclipse technology. (http://www.eclipse.org)