get everything working on JRuby