removes unpackaged Java code