Prolog-java link