The following installation sets are useful to develop OpenOffice.org API applications with Java. This chapter describes how to set up a Java IDE for the OpenOffice.org API.
Java applications for OpenOffice.org 2.0 require the Java Development Kit 1.3.1 or later. Download and install a JDK from java.oracle.com. If you have a 64-bit machine, you must download the 32-bit version of the JDK for use with OpenOffice.org. To get all features, at least Java 1.4.1_01 is required. The recommendation is to use always 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.
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 OpenOffice.org with IDEs such as NetBeans is an ongoing effort. Check the OpenOffice.org API Plugin for NetBeans homepage in the OpenOffice.org wiki to get more and detailed information about it.
OpenOffice.org Software Development Kit (SDK)
Obtain the OpenOffice.org 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 OpenOffice.org 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).|