IDE comes with it's own version of JRE on Windows.
You can easily configure your environment to use your system wide or any custom JRE (and then delete bundled one if so desired). Just check .bat
file in INSTALL_FOLDER\bin
folder and see what environment variables and in what order it uses when searching for JRE.
By overriding one of them (IDE-specific one has priority) you can point to a desired JRE installation.