To fix it properly and save yourself pain later. I would:
Download and install the Java 11 JRE of your choice for Windows purposes.
Download and install a Java 11 JDK of your choice for Eclipse/Development purposes.
Locate the JDK install folder, probably C:\Program Files\Java\jdk...... and copy it to a new development folder like C:\Java\
Rename that JDK folder "jdk"
The windows installed JRE will set the Environment variable "JAVA_HOME" and add "JAVA_HOME/bin" to the PATH variable. You can check and diagnose issues with these in the windows settings Environment... advanced etc.
To make eclipse use the JDK, update the jvm parameter in the eclipse.ini file to point to your JDK.
If at a later stage you want to do additional JVM work, such as Scala, Spark, or other non-Java languages that use the JVM, you can install a JDK8 additionally and use it for per-project compiles and runs within eclipse. Note: Very little of the non-Java open source JVM space has migrated to Java 11+ as the license agreements are not compatible.