Re: FinalizeParams failed when accessing custom component from Java
Javier Pedemonte <[email protected]> Tue, 07 Aug 2007 10:13:55 -0500
| Newsgroups | gmane.comp.mozilla.devel.java |
|---|---|
| Message-ID | <sOOdnbaHtdKqESXbnZ2dnUVZ_uSgnZ2d__29005.1809083254$1186499724$gmane$org@mozilla.org> |
Marcus Better wrote: > With a debug build of Xulrunner I could confirm that it was not managing to > find my interfaces. Adding them to MozillaInterfaces.jar solved the > problem, but I hope there is some cleaner solution than that! JavaXPCOM just looks for the interfaces in the classpath. So, for whatever reason, Eclipse isn't correctly adding your interfaces to the classpath as seen by JavaXPCOM. I would have thought that adding that package to the "Exported Packages" section would take care of that. How is your project set up in Eclipse? I assume you have one project with your main code. Does it have MozillaInterfaces.jar in its classpath, or did you import the JavaXPCOM plugin that contains that jar? javier pedemonte