Java inside ruby project?

Hi,

I need that someone tell me if there is a way to use a java lib I need to use for a existing ruby project that I have or I need to create a new java project and then use jruby in it?