[jruby] jruby.jar Windows/Linux compatibility

christian m.kristian at web.de
Mon Jan 4 21:34:07 JST 2016

it is the same jar, you might be better using jruby-complete.jar or the
org.jruby:jruby artifact for java application with "embedded" jruby. the
jruby.jar from the distribution needs to have a ENV or system properties
set to find jruby.home which is the base of the unpacked distribution file.

the only difference betwenn *nix and windows are the launcher files in bin/*

- christian

On Mon, Jan 4, 2016 at 1:08 PM, <changepoint_advi.fischer at extaccount.com>

> If I create a Java-JRuby application on Windows (main program is in Java),
> and hence use the jruby.jar file from the Windows distribution, can I run
> the resulting program (i.e. my own jar file plus jruby.jar) unmodified on
> Linux, or does the Linux distribution of JRuby have a different jruby.jar?
> I guess the answer is "yes", because it's a pure Java application, but I
> didn't find this mentioned explicitly on jruby.org.
> I am aware that of course I have to pay attention in my own program about
> compatibility issues; I'm interested here only of possible differences in
> jruby.jar.
> Ronald
> If you are not the addressee, please inform us immediately that you have
> received this e-mail by mistake, and delete it. We thank you for your
> support.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ruby-lang.org/pipermail/jruby/attachments/20160104/eeedd9b6/attachment.html>

More information about the JRuby mailing list