The other way failed to keep openjdk removed.