Racs Java Implementation