Forum: JRuby What version is this JRuby?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
66284a40b301c70c57ca10098f1e9db1?d=identicon&s=25 Jun Yan (junyan)
on 2016-03-08 18:52
I am trying to debug logstash-2.2.2 in Eclipse, and I cannot figure out
the version of JRuby that came with it. Does below output say 1.7.23, or
1.9.3?

c:\workspace\logstash\vendor\jruby\bin>jruby.exe --version
jruby 1.7.23 (1.9.3p551) 2015-11-24 f496dd5 on Java HotSpot(TM) 64-Bit
Server VM 1.8.0_73-b02 +jit [Windows 7-amd64]

I am getting compiler errors that may be caused by using JRuby 1.7, but
adding -Xcompat.version=1.9 did not work.
0fa73332c8e4a3b06ea439fd3f034322?d=identicon&s=25 Ronald Fischer (rovf)
on 2016-03-15 10:39
JRuby displays two version numbers. The first shows the JRuby version
itself. The second shows the corresponding MRI Ruby version it is based
on (i.e. the implemented language).
This topic is locked and can not be replied to.