Java sting up path problem

Hi java programmers
I'm a newbee to the Java. Could please help me to set the path correctly. I'm getting the following error.

 ----jGRASP exec: javac -g C:\Documents and Settings\bogugk\Desktop\HelloWorldApp.java

 ----jGRASP wedge2 error: command "javac" not found.
 ----   This command must be in the current working directory
 ----   or on the current PATH to use this function.
 ----   PATH is ";C:\WINDOWS\system32;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Agilent\GeneSpringGX\bin\packages\external\affy\4.0\lib".
 ----   
 ----   Make sure you have the full JDK (J2SE SDK or other), not just the JRE, installed.
 ----   The J2SE SDK is available from java.sun.com.
 ----jGRASP: operation complete.

in the desktop right click on my computer . select system proporties. In the advance tab u will find environment variables. Set the path varible by adding the java home to it.