fix openjdk and sweeper