Help! I'm a newbie in Java Programming!

I'm very new to Java and I'm experiencing problems in compiling. I've just installed JDK 6 and then I started creating a simple displaying text program. But when I compile through command window it says JAVAC is not recognized as an internal or external command... I tried everything I even saved the program code on different directories but it still didn't work... Please help...

[392 byte] By [Gamemastera] at [2007-11-26 14:17:40]
# 1
It's a frequent error among newbies... http://forum.java.sun.com/thread.jspa?forumID=14&threadID=544765
stoppera at 2007-7-8 2:08:12 > top of Java-index,Java Essentials,New To Java...
# 2
Just do what I do...Right click on the file and use "Open with", then select javac.exe.
Lord_Jirachia at 2007-7-8 2:08:12 > top of Java-index,Java Essentials,New To Java...