Javac Error

After installing the Java Development Kit, I made a sample program found in the book Sams Teach Yourself Java in 24 Hours. I tried compiling it in Comand Prompt but get the error:

'javac' is not recognized as an internal or external command, operable program or batch file.

What am I doing wrong?

[317 byte] By [Zach4390a] at [2007-10-2 17:11:57]
# 1
You need to set the Path variable on your computer so it knows how to find javac.exe.You can go here and take the Getting Started tutorial. http://java.sun.com/docs/books/tutorial/index.htmlOr, see the JDK installation instructions - I think it is #5.
atmguya at 2007-7-13 18:27:09 > top of Java-index,Developer Tools,Java Compiler...
# 2

you need to set up the java bin directory in ur environment:

just go to your java directory and copy the path till directory bin such as the following:

C:\Program Files\Java\jdk1.5.0_01\bin

then right click on your computer>> propertise>> advanced>> environment variable.

from system variables choose path>>edit>> put;to the end of files then paste the bin directory path.

click ok and run the dos command ........thats all

if u need more assesstance please dont hesitate to reply on this post

sincerely

Alshehhi ~ sezoom

Alshehhia at 2007-7-13 18:27:09 > top of Java-index,Developer Tools,Java Compiler...