On my windows 7, 64 bit pc, I have installed java but while typing java -version in command prompt it shows java' is not recognized as an internal or external command, operable program or batch file.".and there is no java folder in program files even.The java version which i have installed is 8 and it is 64bits.
Asked
Active
Viewed 3,061 times
2 Answers
3
Try setting the environment variables.
The answer can be found on this SO page.

Community
- 1
- 1

BigMacMenu
- 92
- 10
0
You must install the latest version of JDK from here:
After Installing the latest version follow these steps :
Hope this will help you out.

Rahul Kushwaha
- 13
- 6
-
I can't find the path of the downloaded file as it is not visible in my program files. I am not able to find way out of it as i am too new to these technical things. – qureshi Apr 14 '17 at 14:39
-
it is generally `C:\Program Files\Java\jdk1.8.0_121\bin` copy the above path and paste it inside environment variable path – Rahul Kushwaha Apr 17 '17 at 11:30