```ruby
class Snmpjr
  module Wrappers
    begin
      require 'java'
      require 'snmpjr/wrappers/snmp4j-2.3.1.jar'
    rescue
      raise "Snmpjr requires JRuby"
    end

    include_package 'org.snmp4j'
  end
end
```

Remove begin rescue around requiring java
user
```ruby
class Snmpjr
  module Wrappers
    require 'java'
    require 'snmpjr/wrappers/snmp4j-2.3.1.jar'

    include_package 'org.snmp4j'
  end
end
```
assistant