-4

Following error from cmd.

C:\program files\java\jdk1.7.0_71\bin is not recognise an an internal or external command, operable program or batch file

Paul
  • 2,475
  • 2
  • 14
  • 27

2 Answers2

1

C:\program files\java\jdk1.7.0_71\bin this is a directory . try "C:\program files\java\jdk1.7.0_71\bin\java.exe"

npocmaka
  • 53,069
  • 18
  • 138
  • 177
1

If you're trying to set Java path in your Windows System, Try this Close cmd and follow these steps

Open environment Variables in System Variables edit PATH and Paste this C:\program files\java\jdk1.7.0_71\bin;

Now open cmd and type javac to check.

Subramanyam M
  • 337
  • 2
  • 6
  • 18