Fix java output paths