JRuby runs Ruby code on the Java Virtual Machine. This allows Ruby programs to access Java libraries and tools like Swing, and take advantage of features like the JVM's garbage collection and just-in-time compilation. JRuby is compatible with Ruby 1.8.7 and 1.9.2 and runs on multiple platforms. While it has some missing or disabled features compared to MRI Ruby, JRuby programs typically see improved performance due to the JVM. JRuby also enables building scalable, concurrent server applications using Java servers and tools.