The Java CLASSPATH is an environment variable containing a list of resources (for example: Java class files, JAR and ZIP archive files) used during program execution. Within the OFBiz environment, the CLASSPATH may become quite complex with hundreds of entries. Therefore, it is comforting to know that OFBiz makes it easy for us to manipulate the CLASSPATH and add new resources.
Resources can be added to the runtime CLASSPATH by following these steps:
1. Put that resource in any directory that is already listed in the CLASSPATH. Examples of default CLASSPATH directory locations include:
~framework/base/lib
or
~framework/webapp/lib
(Where "~" represents the fully qualified directory path of the OFBiz installation root location.)
2. Restart OFBiz.