My apologies if this topic has already been addressed.
I'm attempting to teach myself
JAVA 1.6 SE from Murach's Java SE 6. I originally learned on Java 1.4.
I tried following the directions in the book to use the command prompt to compile a class named LineItem.java. The class path leading to the class is C:\ Documents and Settings\User\My Documents\Java\MurachJava\JPractice\Ch09\LineItemX9-1. I tried to append > javac murach/business/ LineItem.java to this, and got the error message, 'My' is not recognized as an internal or external command, operable program or batch file.
I tried enclosing "My Documents" in double quotes, and got the error message, The filename, directoryname, or volume label syntax is incorrect.
I went to my old Java instructor. He told me to type the following into the command prompt; "C:\Program Files\Java\jdk1.6.0_26\bin\javac.exe", then "C:\Documents and Settings\User\My Documents\Java\MurachJava\JPractice\Ch09\LineItemX9-1\murach\business\LineItem.java". I still got the error message, the filename, directoryname, or volume label syntax is incorrect.
How do I set the classpath to this class in the package I defined so it will compile?
Thank you in advance for your help.
Eric Kantola