No, Minecraft doesn't need Java runtime anymore. This was available in the previous versions, but with the latest updates, all the necessary files have been bundled with the installation eliminating the need to install the java Runtime separately.
However, some modules still need it, but Microsoft released the latest version with all the runtime files places in the installation directory. Minecraft launcher should detect it automatically.