just do one thing...That's considerably more than one thing
Right click on your My Computer icon on the Desktop.
Click on properties button.
Click on advanced tab.
Click on Environment variable button.
In system variables list select the path variable.
Click on edit button.
Do not change the previous path.
Just append semicolon " ; " if the previous path
doesen't ends with it.
Now append absolute path of your java bin directory
which must be like
Click OK button
Do it 2 times more for closing all the dialog boxes.
Now you can keep your files anywhere in your file
To run them just go into that directory.
Suppose you have kept them in C:\abc\xyz folder
then cd c:\abc\xyz
and then run java file as
i am sure that it must work.