0

I installed Java JDK then set the path of system environment in advanced setting but still java is not recognized in command prompt..

Here is the screenshot

Andrew Thompson
  • 168,117
  • 40
  • 217
  • 433
  • 1
    might be duplicate of https://stackoverflow.com/questions/15796855/java-is-not-recognized-as-an-internal-or-external-command – Yogesh.Kathayat Sep 18 '19 at 11:02
  • 3
    Possible duplicate of ['Java' is not recognized as an internal or external command](https://stackoverflow.com/questions/15796855/java-is-not-recognized-as-an-internal-or-external-command) – Butiri Dan Sep 18 '19 at 11:04
  • 1
    @ButiriDan it is the same question then the one from Yogesh.Kathayat. – dan1st Sep 18 '19 at 11:19
  • Click a couple of times on Move Up button, one of the earlier entries might go wrong. Try also in the console the path you gave + "java -version". – Joop Eggen Sep 18 '19 at 12:19

1 Answers1

0

There are multiple possibilities

  • You tried to execute jawa .... In this case, you made a spelling mistake. It is java and not jawa.
  • the directory of java (or java.exe) is not in your PATH. If you use windows try running set PATH=<C:\Path\to\Java\bin> and if you use Unix-like systems, try PATH=/<Path/to/Java/bin>.
dan1st
  • 12,568
  • 8
  • 34
  • 67