java - How can I detect the installed Sun/Oracle JRE on Windows? - Stack Overflow

java - How can I detect the installed Sun/Oracle JRE on Windows? - Stack Overflow

瀏覽:709
日期:2025-04-30
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:...看更多