Because we could probably get rid of those requires if we need to. We
removed and converted a lot of stuff away from java since the time the
original requires were added, though it is convenient from the
perspective of supporting manually added extensions to know that java is
installed. I guess we're already compromised in the sense that we now
only know for sure that at least the headless variant is installed.