Updated CPPtoJavaCompare, now works properly