I mean sure, in an ideal world one Java should work for everything. In practice, there are too many things that can go wrong with untested combinations. For better or worse, the world is moving towards bundled dependencies (Snap, Flatpak, Docker, etc). On my system, I see at least DBeaver and Arduino that ship their own JVM. I don't think it's a red flag.