0

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.

qureshi
  • 1
  • 1

2 Answers2

3

Try setting the environment variables.
The answer can be found on this SO page.

Community
  • 1
  • 1
BigMacMenu
  • 82
  • 10
0

You must install the latest version of JDK from here:

Download JDK From Here

After Installing the latest version follow these steps :

Setting Path in Java

Hope this will help you out.

  • 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