extended handling of jruby when mounting external, update #2383