Jre installed but while installing it is not showing

I installed the latest version of JDK i.e JDK17.0 and it is running properly (as seen by cmd commands). JAVA_HOME variable is also present. But I am still not able to install CATIA V5. It shows JRE not installed again and again. Please let me know a solution to it.

Edu ​​​​​​​3DEXPERIENCE ​​​​​​CATIA V5 ​​​​​​​