some kind of java is required for `jruby` maybe custom check for java binary?