Re: error message
Colby Russell <[email protected]> Mon, 23 Nov 2009 02:03:48 -0600
| Newsgroups | gmane.comp.mozilla.devel.jsdebugger |
|---|---|
| Message-ID | <[email protected]> |
ncosco wrote: > I'm developing an application, I would like to use different > interfaces, like mozilla extension, web page or normal gui. In order > to use mozilla extension I need to call java from javascript, the > previous code was an attempt to understand how it works. If you're writing an extension, consider doing it without Java. To answer your question though, |Packages.javax| would be correct, since the top-level |java| object is just shorthand for |Packages.java| and there's no similar shorthand for javax. This is a remnant of LiveConnect, and its future in Mozilla is shaky from the last discussion I'm aware of on the issue, and just poorly understood and nearly unsupported at best. -- Colby Russell