Hope you are doing well.
Please kindly follow the steps. Make sure that jdk is installed in your system.
Now click on advance settings and then on enviroment variables.
Click on new
Then go to the folder where java is installed usually it will be present in program files open java folder and then jdk then bin folder.
Copy this path and paste it.
And then try to launch the eclipse it will work.
Let us know if you still face the same issue.
We will be eagerly waiting for your response.