Fix java deploy recipe