I don't know if this is the best way but here it goes:
Every .class file that has a correspondent class I may use in a .rb
file, I can merge them in a .jar file. Then, I just have to call
require 'name_of_the_file.jar' (if it's in the same directory). To use
a particular class, say ClassName, just call import 'ClassName'.
Everything else is pretty much the same as though you were only using
Ruby (except for the fact that you must use jruby to interpret).
As for whether it would be better in a jruby list, I didn't know that
the scope of this one was MRI solely. Next time I'll think twice
before posting newbie questions in the wrong places. Sorry for any
incovenience.
Thiago
Side note: =A0There's a good change that if one person has a question
about something, then someone else will, too.
If you found an answer for your problem it would be helpful to post it
here so that others can find it or reference it.
(There's another matter of whether the original question would have been
better asked on the JRuby list, but here it is, so ...)
=A0 =A0 =A0 =A0 - Playing with Better Toyswww.ruby-doc.org=A0 =A0 =A0 =A0 =
=A0 =A0 - Ruby Help & Documentationwww.rubystuff.com=A0 =A0 =A0 =A0 =A0 =A0=
- The Ruby Store for Ruby Stuff