On Feb 26, 3:10 pm, "krithika" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> My requirement is to  load my page (html+css+js) in to Gecko Layout
> Engine from a java api.Iam using xulrunner1.8.1.12 with gecko-sdk1.8.
>
> mozilla.initEmbedding(grePath, grePath, locProvider);  gives
>
> Exception in thread "main" java.lang.UnsatisfiedLinkError:
> initEmbeddingNative
>         at
> org.mozilla.xpcom.internal.GREImpl.initEmbeddingNative(Native Method)
>         at
> org.mozilla.xpcom.internal.GREImpl.initEmbedding(GREImpl.java:50)
>         at org.mozilla.xpcom.Mozilla.initEmbedding(Mozilla.java:598)
>         at JavaXPCOM_test1.main(JavaXPCOM_test1.java:42)
>
> What am I missing.
>
> Also I would like to know if I can use the rendering engine without
> having to open any window,I want to parse the rendered html on the
> server side without any window being opened.
>
> regards,
> Krith

Problem solved.Mismatch in gecko sdk version and xulrunner versions.I
used xulrunner1.8.1.2 and its corresponse gecko sdk.Now it works.

regards,
Krith

_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to