Installing ODWEK in a non-default location

If you have installed ODWEK in a non-default directory, you must tell ODWEK where the installation directory is.

About this task

Use the additional properties option in the ODConfig constructor to specify where ODWEK is installed. See Passing additional parameters to the ODConfig constructor for details. For example:
Properties od_props = new Properties();
od_props.setProperty(ODConfig.ODWEK_INSTALL_DIR, "/opt/nondefault/install/location");

In addition, be sure to use the non-default installation directory when you are setting up the development environment. For example, on an AIX server, set the LIBPATH environment variable to /opt/nondefault/install/location/www:/opt/nondefault/install/location/lib64. See Setting up the development environment for more information.