Difference between revisions of "Documentation/DevGuide/FirstSteps/Installation Sets"
Revision as of 07:29, 21 June 2007
Template:FirstSteps The following installation sets are necessary 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.sun.com. To get all features, Java 1.4.1_01 is required. The recommendation is to use Java 1.4.2_05, because of important bug fixes.
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 files section of api.openoffice.org for the latest information about NetBeans and other IDEs.
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.