need help with javac
I am trying to learn java. I have jdk 1.5 installed. I'm reading Ivor Horton's: Beginning Java 2. Just working through the first chapter. there is a program to try out the compiler. I wrote out the code exactly like it's written, saved it as a .java file in directory i called program.
I am running Win98 SE, when i go into command.com and try to follow instructions to compile the code file I made, I get "bad command or file name" why? Whats wrong? I don't understand. It sounds so easy.
C:\>dir program
Volume in drive C has no label
Volume Serial Number is 3665-1CD6
Directory of C:\Program
. <DIR> 03-08-06 10:10a .
.. <DIR> 03-08-06 10:10a ..
ROME~1 JAV 133 03-09-06 8:11a Rome.java
MYPROG~1 JAV 138 03-09-06 8:11a MyProgram.java
2 file(s) 271 bytes
2 dir(s) 2,603.93 MB free
C:\>javac Program\Rome.java
Bad command or file name
C:\>cd program
C:\Program>javac Rome.java
Bad command or file name
|