displaying cmd error

i am new to java .i have installed j2sdk 1.5 software.and i set calsspath to lib files ,bin files, currentclasspath,and current directory .when i started compiling the java code using the cmd

javac FirstPgm.java

prompt displaying the message as

javac is not internal or external command.

please help me to get rid of this problem.i m new to java

[378 byte] By [pavankumar254a] at [2007-11-26 20:51:46]
# 1
Hi Pavan,Set a new environment variable JAVA_HOME with jdk path for example: JAVA_HOME = "D:\jdk1.65.0\" and set this JAVA_HOME to path environment variable like path = "%JAVA_HOME%\bin"rgds,penupati
penupatia at 2007-7-10 2:16:58 > top of Java-index,Java Essentials,New To Java...