added dependency check for jruby