This method bootstraps OpenOffice. If you don't want to add all the UNO jars to your classpath do following: 1. Add these files to your jar (you find them in a SDK subfolder): com/sun/star/lib/loader/Loader$CustomURLClassLoader.class com/sun/star/lib/loader/Loader.class com/sun/star/lib/loader/InstallationFinder$StreamGobbler.class com/sun/star/lib/loader/InstallationFinder.class com/sun/star/lib/loader/WinRegKey.class com/sun/star/lib/loader/WinRegKeyException.class win/unowinreg.dll 2. Create a MANIFEST.MF file for your jar and use it when creating the jar. The MANIFEST.MF must look like: Main-Class: com.sun.star.lib.loader.Loader Name: com/sun/star/lib/loader/Loader.class Application-Class: my.package.MyClass Application-Name: my/package/MyClass.class 3. Start your application using e.g. this command: java -jar myjar.jar |