Configuring OpenOffice for J2EE servers

The following instructions are not applicable for stand-alone and multi-server configurations of ColdFusion 9.

  1. Download OpenOffice from http://download.openoffice.org/.

  2. For JRun:
    • Add the OpenOffice SDK libraries to the JRun server class path (java.class.path) in the jvm.config file as follows:
      [cfusionhome]/lib/oosdk/classes 
      [cfusionhome]/lib/oosdk/lib 
    • For Windows platform, add the following directory in the library path (java.library.path):
      [cfusionhome]/lib/oosdk/classes
  3. For all other J2EE servers:

    • Add the following classes and JAR files in the class path:
      [cfusionhome]/lib/oosdk/classe 
      [cfusionhome]/lib/oosdk/lib/juh.jar 
      [cfusionhome]/lib/oosdk/lib/jurt.jar 
      [cfusionhome]/lib/oosdk/lib/ridl.jar 
      [cfusionhome]/lib/oosdk/lib/unoil.jar
    • For Windows platform, add the following directory to the library path (java.library.path):
      [cfusionhome]/lib/oosdk/classes