Replace python libs with java libs into java build