
Hi friends, in this image java is installed on my computer and when i use the " java -version " shows me the message diplayed in the image . But, when I use javac -version this show me error " not found " why is this so and how to properly set java on my computer so as to use this for my programming compiling and executing java files. Thanks in advance !!
I installed openjdk as well:

