javac error

Hi, I am new to java and ur help would really be appreciated.

When i try to compile a program i get following error:

'javac ' is not recognized as an internal/external command.

I did set the path through the control panel as:

C:\Program Files\Java\j2re1.5.02_07\lib\ext;C:\jdk1.5.0_08\bin

Still the error appears. Please suggest me some solution.

[386 byte] By [Mancya] at [2007-10-3 5:20:39]
# 1
If the PATH is set correctly, you would not be recieving that message.
CaptainMorgan08a at 2007-7-14 23:27:34 > top of Java-index,Developer Tools,Java Compiler...
# 2
Thanks. It worked, I had set a wrong path.
Mancya at 2007-7-14 23:27:34 > top of Java-index,Developer Tools,Java Compiler...