11. downlaod java. (just search java)
22. download JDK (again just search JDK)
3if that didn't work go to where java is installed and add javapath to path.
4(it is usually located at C:\Program Files\Common Files\Oracle\Java\javapath )
5Adding to path:
61. press widows key and type: system environment variables and press enter
72. press enviroment variables
83. under system variables find "Path" and double click it.
94. click new and paste the path to javapath folder