remove more javaconfig