Fix java dep