Re: Unsatisfied Link error for JRex XPCOM

Jochen Welle <[email protected]> Sat, 04 Nov 2006 14:04:47 +0100
Newsgroups gmane.comp.mozilla.jrex
Message-ID <[email protected]>
Hi,

if you are trying to run it under Windows the file jawt.dll might be 
missing. You can find it in jdk 1.4.2 (and older i think).

Jochen Welle


Mihir Mohite schrieb:
> ***************** 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
> 
> 
> _______________________________________________
> JRex mailing list
> [email protected]
> http://mozdev.org/mailman/listinfo/jrex