Using Java-inherited JRuby classes from Java


I want to write a plug-in for a Java framework using JRuby. The plug-in
mechanism works by extending a Java class. Is there a way to accomplish
without using ugly glue code (a.l.a.

I’ve tried to use the Ruby2Java compiler ( but my class wouldn’t compile
(“compiler.rb:33:in `process_class’: MyPluginClass must be compilable

Does anybody have any suggestions as to what I could try?


Jake B.