Roger: As for My Documents: try c:\Documents and Settings\Default User\ As for the Command Line: You must be in the directory via the prompt, next type Javac MyClass.java for example. The class path must be set ahead of time by the way. Jim James M. Corbett Programmer / Analyst | Canada Revenue Agency | Agence du revenue du Canada 875 Heron Rd. Ottawa, On. K1A0L5 James.Corbett@xxxxxxxxxxxxx Telephone | Téléphone: (613) 941-1338 Facsimile | Télécopieur: (613) 941-2261 Government of Canada | Gouvernement du Canada E = MC² -----Original Message----- From: program-java-bounce@xxxxxxxxxxxxx [mailto:program-java-bounce@xxxxxxxxxxxxx] On Behalf Of Roger Woolgrove Sent: February 8, 2011 12:47 To: program-java@xxxxxxxxxxxxx Subject: [program-java] Re: Command line problems Hi Jim, No it isn't. I've tried using run through the start menu also but to no avail - I don't know if this makes a difference. Also wondering if I could just click the file and open with jdk. Roger ----- Original Message ----- From: "Corbett, James" <James.Corbett@xxxxxxxxxxxxx> To: <program-java@xxxxxxxxxxxxx> Sent: Tuesday, February 08, 2011 5:15 PM Subject: [program-java] Re: Command line problems Hi: Is this a networked machine? Jim James M. Corbett Programmer / Analyst | Canada Revenue Agency | Agence du revenue du Canada 875 Heron Rd. Ottawa, On. K1A0L5 James.Corbett@xxxxxxxxxxxxx Telephone | Téléphone: (613) 941-1338 Facsimile | Télécopieur: (613) 941-2261 Government of Canada | Gouvernement du Canada E = MC² -----Original Message----- From: program-java-bounce@xxxxxxxxxxxxx [mailto:program-java-bounce@xxxxxxxxxxxxx] On Behalf Of Roger Woolgrove Sent: February 8, 2011 11:58 To: JavaProgramming Subject: [program-java] Command line problems Hi all, Using Windows XP with Jaws 9 - sadly. Presently working on O U project and need to start a java program through the command line. I've tried entering the syntax as given but no go. The file I need to run is called Welcome.java and is presently in My Documents. First of all, can anyone supply the correct syntax using javac to run a java program and Secondly, can anyone tell me what the address of My Documents is on a machine with a single user set up on it. Many thanks Roger