How to we know that there is the error of javac. "I studied that javac is not internal or external command". This is the error so how do we know that this error has evolved?

How to we know that there is the error of javac

Is it an error with a program or with you using javac itself?

You have not set the Java environment properly... Set the path variable!

How to set the path variable.?

Set the java installed path in your system.. For example: Im cmd prompt

c:/>cd [your system installation path]
(OR)
c:/>cd C:\Program Files\Java\jdk1.7.0\bin

Then compile your program dude..

This question has already been answered. Start a new discussion instead.