only finding java version if jruby