Package Export Job: Services.rdb Failed

Asked By 40 points N/A Posted on -
qa-featured

I tried a Java component to work in OpenOffice but I was unable to do it right. I tried the HelloWorld sample I found on some website but still failed. I received a pop up class file while doing the sample on that site which appears in gedit. It shows the manifest.mf as:

ManifestVersion: 1.0

RegistrationClassName: org.openoffice.helloworld.comp.HelloworldImpl

I also got a class org.openoffice.helloworld.Helloworld. I am getting confused now with all these especially when I tried to export the project. An error message appears:

Package export job

File:////home/braas/projects/helloworld/helloworld.jar

Register component 'file:////home/braas/projects/helloworld/helloworld.jar' in

Registry 'services.rdb' failed!

Error (CannotRegisterImplementationException):

Org.openoffice.helloworld.comp.Helloworldlmpl

What can I do to solve this?

SHARE
Answered By 590495 points N/A #118256

Package Export Job: Services.rdb Failed

qa-featured

If you want to use Apache OpenOffice for Java or on a JAR file “.jar”, make sure you have already installed JRE or Java Runtime Environment. A JAR file is a Java file and it requires Java Runtime Environment to work. If you already have it but you are using an older version then maybe that’s the cause of the problem.

You need to upgrade to the latest version. Download Java SE Runtime Environment 7u60. Just select the correct version for your operating system. Once downloaded, uninstall your existing Java and then run the installer for JRE 7u60 that you downloaded. Try it again once JRE is installed. If it doesn’t work, try reinstalling Apache OpenOffice and try again.

It will also help if you will upgrade Apache OpenOffice to the latest version. Download Apache OpenOffice 4.1.0. It supports Windows 2003, Windows XP, Windows Vista, Windows 7, Windows 8, and Windows 8.1. For Linux, it requires Linux kernel 2.6 or higher and glibc2 2.5 and up. For Mac, it supports Mac OS X 10.7 Lion and up.

Related Questions