Compiling Ruby through JRuby?

Hi! I’m currently building a program which will be mostly standalone,
and use little libraries, if at all.

If I want to use the project as a library within a Java program, would
it be possible to compile it through JRuby?

MrZombie wrote:

Hi! I’m currently building a program which will be mostly standalone,
and use little libraries, if at all.

If I want to use the project as a library within a Java program, would
it be possible to compile it through JRuby?

Probably.

-r

Roger P. wrote:

MrZombie wrote:

Hi! I’m currently building a program which will be mostly standalone,
and use little libraries, if at all.

If I want to use the project as a library within a Java program, would
it be possible to compile it through JRuby?

Probably.
jruby.org

See also
http://wiki.github.com/rdp/ruby_tutorials_core/ruby-talk-faq#ruby_to_exe

and

GL!
-r

In JRuby 1.5, we introduced a feature to the jrubyc compiler to
produce a “normal” Java class from Ruby code. Check out this wiki
page:

http://kenai.com/projects/jruby/pages/GeneratingJavaClasses