RUBY-698 java extension support