sample of calling Java from ruby