Could not find appears when JDK is configured java.dll Could not find Java se runtime environment problems

Error: could not find java.dll
Error: could not find Java Runtime Environment after installing the JDK before and after installing the new version.
There are two ways to do it

    rename C:\Program Files (x86)\Common Files\Oracle\Java\javapath java.exe put the system variable in the Path of %JAVA_HOME%\bin; Put in front of C:\Program Files (x86)\Common Files\Oracle\Java\javapath

I saw some bloggers who said that 1 didn’t work and 2 worked, but I used 1 and 2 didn’t work, so I could try both

Read More: