Installation Sets

From Apache OpenOffice Wiki
Jump to: navigation, search



The following installation sets are useful to develop Apache OpenOffice API applications with Java. This chapter describes how to set up a Java IDE for the Apache OpenOffice API.

JDK

Java applications for OpenOffice require the Java Development Kit 1.3.1 or later. Download and install a JDK from java.com or Adoptium. If you have a 64-bit machine, you must download the 32-bit version of the JDK for use with Apache OpenOffice. To get all features, at least Java 1.4.1_01 is required. The recommendation is to always use the latest official Java version because of important bug fixes. Since Java 5, a lot of interesting and useful language features were introduced that can make a developer's life easier or at least more comfortable.

Java IDE

Download an Integrated Development Environment (IDE), such as NetBeans from www.netbeans.org or the Sun® One Java Studio from Sun Microsystems. Other IDEs can be used, but NetBeans/Sun One Java Studio offers the best integration. The integration of Apache OpenOffice with IDEs such as NetBeans is an ongoing effort. Check the Apache OpenOffice API Plugin for NetBeans homepage in the OpenOffice wiki to get more and detailed information about it.

Apache OpenOffice Software Development Kit (SDK)

Obtain the Apache OpenOffice Software Development Kit (SDK) from www.openoffice.org. It contains the build environment for the examples mentioned in this manual and reference documentation for the Apache OpenOffice API, for the Java UNO runtime, and the C++ API. It also offers more example sources. By means of the SDK you can use GNU make to build and run the examples we mention here.

Unpack the SDK somewhere in your file system. The file index.html gives an overview of the SDK. For detailed instructions which compilers to use and how to set up your development environment, please refer to the SDK installation guide.

Content on this page is licensed under the Public Documentation License (PDL).
Personal tools
In other languages