RE: Jar-Problem extension installation
"Martin Dobiasch" <[email protected]> Tue, 14 Dec 2010 11:36:00 +0100
| Newsgroups | gmane.comp.openoffice.devel.api |
|---|---|
| Message-ID | <[email protected]> |
> unopkg still has trouble executing the registration Java code at > at.univie.MidiCSD.impl.RegistrationHandler in your MidiCSDext.jar, but > the empty CannotRegisterImplementationException message is of course > unhelpful in finding out why. > > Do you have an empty class path now? (Also, I am not completely sure, > but I think unopkg should use class path settings from OOo's "Tools - > Options... - Java" dialog, not from the CLASSPATH environment variable; > please check those settings, too.) I played around with my RegistrationHandler (default class from eclipse-plugin). It had problems with getting the resource of the class-names. But now my problem is: the RegistrationHandler can't load any classes. They are in the jar-file but something is going wrong when I try to Load them. With Class.forName() Any ideas what my mistake is? Thanks a lot for your help!