I have recently uninstalled JDK 11 and installed JDK 8. For confirmation, I want to check which JDK is installed on my Windows 10 machine. I typed java -version
on cmd then get the error message
java is not recognized as an internal or external command
Question: How to know which JDK version installed on pc?
you might need to add path
in environment variables which you can find in Control Panel open the Jdk where you installed and add until /bin
in the path in environment variables.
Add until /bin
in path variable in System Variables which is residing in Environment Variables.
Then do java -version
which might show up.
If still problem persists, try restarting your pc and see.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With