Getting started

"[email protected]" <[email protected]> Tue, 27 Nov 2007 17:17:13 -0800 (PST)
Newsgroups gmane.comp.mozilla.devel.java
Organization http://groups.google.com
Message-ID <117d148f-9abf-48b6-98da-272ceae735cd__7631.13305806673$1196212855$gmane$org@s19g2000prg.googlegroups.com>
Hello everybody!

I have the following two lines of JavaScript in a firefox extension.

    var msg = new java.lang.String("hello");
    alert(msg);

However, if I put these same two lines into a xul file ran by
xulrunner, I get a "Failed to create Java VM" error.

My question is how do I enable Java in a XulRunner application?

Thanks!
-Michael