JRUBY_VERSION is only defined in JRuby and in provides the short version info, like "1.7.4". further, another approach would be to use the `RUBY_PLATFORM =="java"`. Both will work, AFAIK