FYI, this is more a limitation of the Bean Scripting Framework than of
JRuby itself. JRuby currently has no hard dependencies on
security-risky features like custom classloaders, and a version of
JRuby could be built--sans BSF--that would run just fine as an applet.

On 2/22/06, Bill Kelly <billk / cts.com> wrote:
> From: "David Vallner" <david / vallner.net>
> >
> > That said, it's not an unworthy goal, but there's quite a lot to do before
> > it's actually good for anything serious, like letting Ruby loose on the
> > unsuspecting web, with early-adoption problems aplenty on the road.
>
> Hmm... JRuby as an applet?  ;)
>
>
> Ah, apparently it's been tried...
> http://datavision.sourceforge.net/DataVision/embed.html says,
>
>     Since JRuby uses a custom class loader, you will have to either sign the applet
>     or edit the client's java.policy file and add the line:
>         permission java.lang.RuntimePermission "getClassLoader";
>
>
> Regards,
>
> Bill
>
>
>
>


--
Charles Oliver Nutter @ headius.blogspot.com
JRuby Developer @ jruby.sourceforge.net
Application Architect @ www.ventera.com