java - How can I detect the installed Sun/Oracle JRE on Windows? - Stack Overflow
Instead you can try running the command "java -version" in command prompt. This may not actually work well if the JRE is not properly installed but copied from some other machine. A Sure shot workaround is to navigate to the JRE installation directory "C:
stackoverflow.com |