Re: Registration done - next steps. Re: Problems Registering a XPCOM component in XULrunner environment Re: Question: How to reliably create a XPCOM component for use with javaxpcom?
Javier Pedemonte <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.java |
|---|---|
| Message-ID | <JKOdnfo_LNsCjUfZnZ2dnUVZ_tGdnZ2d__36206.3088956804$1155141937$gmane$org@mozilla.org> |
Martini wrote: > java.lang.NoClassDefFoundError: org/mozilla/xpcom/dsTestEntryPoint Currently, if you are embedding XULRunner in a Java app using JavaXPCOM, the all the interfaces are defined in MozillaInterfaces.jar. You seem to also want to create a Java-based XPCOM component, which isn't really supported yet. Are you wrapping the Java code of the component in Javascript and using LiveConnect to communicate? New interfaces aren't dynamically loaded, so you need to add the dsTestEntryPoint class to your CLASSPATH, alongside MozillaInterfaces.jar. That should get you past this error. javier