Registry / other / rjb
library1.7.3rbrubygemsunverified

A bridge library that connects Ruby and Java code using the Java Native Interface.

gem install rjb
INSTALL
IMPORT
SIG · RJB
R
rjb
otherrubyv1.7.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

RJB
require 'rjb'

Load a Java class and call a static method.

require 'rjb' Rjb::load system = Rjb::import('java.lang.System') puts system.getProperty('java.version')
Debug
Known issues
gotchaRequires a Java Runtime Environment (JRE) to be installed and accessible.
fix
Install Java and ensure the java command is in your PATH.
affects: >= 1.0.0
Upgrade
Version history
1.7.3latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
rjb — gem install rjb · libregistry