Unsatisfied Link error for JRex XPCOM
Mihir Mohite <[email protected]> Fri, 3 Nov 2006 14:00:03 -0500 (EST)
| Newsgroups | gmane.comp.mozilla.jrex |
|---|---|
| Message-ID | <Pine.GSO.4.53.0611031353480.15101@compserv1> |
***************** JRexL inited *****************
***************** JREX-Logging disabled *****************
Hi
We are trying to run JRex as a part of a Java application. We are getting
the following error at the point where we try to start JRex.
We have included the JREx.jar and the JRex_gre at the correct places and
the path for the JRex_gre is being picked up correctly.
Please help as soon as possible.
We are attaching the stack trace below.
Mihir
Amogh
Stony Brook University
org.mozilla.jrex.exception.JRexException
at
org.mozilla.jrex.xpcom.JRexXPCOMImpl.startXPCOM(JRexXPCOMImpl.java :143)
at org.mozilla.jrex.JRexFactory.startEngine(JRexFactory.java:222)
at sbu.cs.all.sb.jrex.Browser.createWindow(Browser.java:137)
at sbu.cs.all.sb.entrypoint.standalone.SoftBot.execute(
SoftBot.java:40)
at
sbu.cs.all.sb.entrypoint.standalone.SoftBot.main(SoftBot.java:31)
Caused by: java.lang.UnsatisfiedLinkError: InitXPCOM
at org.mozilla.jrex.xpcom.JRexXPCOMImpl.InitXPCOM(Native Method)
at
org.mozilla.jrex.xpcom.JRexXPCOMImpl.access$200(JRexXPCOMImpl.java:45)
at
org.mozilla.jrex.xpcom.JRexXPCOMImpl$1.run(JRexXPCOMImpl.java:173)
Exception in thread "main" java.lang.UnsatisfiedLinkError : initIDs
at org.mozilla.jrex.ui.JRexCanvas.initIDs(Native Method)
at org.mozilla.jrex.ui.JRexCanvas.<clinit>(JRexCanvas.java:277)
at
org.mozilla.jrex.window.JRexWindowBrowser.init(JRexWindowBrowser.java :66)
at
org.mozilla.jrex.window.JRexWindowManagerImpl.init(JRexWindowManagerImpl.java:84)
at sbu.cs.all.sb.jrex.Browser.createWindow(Browser.java:147)
at sbu.cs.all.sb.entrypoint.standalone.SoftBot.execute
(SoftBot.java:40)
at
sbu.cs.all.sb.entrypoint.standalone.SoftBot.main(SoftBot.java:31)
Java Result: 1