ok, let's finally make the java wrappers compile