xxxxxxxxxx
// If you have the Java Runtime Environment (JRE) version installed, run this command on your terminal(Command Prompt - for windows):
java -version
// If you have the Java Compiler version installed, run this command [still on your terminal(Command Prompt - for windows)]:
javac -version
xxxxxxxxxx
Open cmd and write "java -version" if there is intalled, the details will be displayed
xxxxxxxxxx
On Windows 10:
Start > Control Panel > Program > Java
If you can't see a Java option then you don't have Java installed.
Otherwise, this should open the Java Control Panel. Click the 'About'
button to view version information.