remove compton and infer java dirs