Inspection with quick fix: In jruby code we can directly call only java packages that starts with "java", "javax", "org", "com". In other cases we should use packages names with prefix "Java::". — RubyMine feature request — Has it shipped?