Run the downloaded installer and follow the prompts.

Here is a detailed guide on why you need Java 17 (specifically build 180), where to find it, and how to configure TLauncher to use it.