i cannot compile my java program in command prompt
<p>I have set the path in environment variables, but when I compile a simple hello.java file using command prompt:</p>

<pre><code>javac hello.java
</code></pre>

<p>it gives me error:</p>

<pre><code>javac: file not found: hello.java
</code></pre>

<p>I have tried to open command prompt in same directory and then run it,
I don't know what is wrong</p>