Sun didn't "buy" JRuby, they just hired two of its principal developers, presumably so they can work on it full time. It's possible JRuby will be included in a future release of Java, but not in 6.0. However, Java 6 does include the new scripting API, which is intended to make it easier to integrate any scripting language into Java apps (assuming the language has been ported to the Java platform, that is).