geoffrey hutton

Greenhorn
+ Follow
since Aug 27, 2008
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by geoffrey hutton

Kieran,

If the directory that you store your *.java files is not in the PATH for Windows you will get that error. You have a couple of options at this point. For learning purposes I like to store my files in the "My Documents" folder for the user I am logged on as. In a production environment I would not do that as the folder permissions by default is for that specific user profile. For instance:

C:\Documents and Settings\ghutton\My Documents\JavaProgram>

I did this because I am lazy and my documents is in the Windows PATH variable so I can type the file name and it will find it. The other option is to add whatever directory to the PATH variable which is located in the My Computer directory. There are several good HOWTO's on the Internet for how to do this. Just do a google search for "changing PATH in windows" or something to that effect. That should clear up your issue. If not let us know

Good Luck!

Geoff
12 years ago