Remove Java objects