Gaetan Ve wrote:Still dont understand why the book gives you the instruction to when this seems incorrect.
I have just tried following the given instructions and it works flawlessly! So the instructions in the study guide are spot-on. Probably you have missed something important.
Please follow this step-by-step guide very carefully:
create the directory C:\tempcreate in this directory two subdirectories packagea and packagebcreate in the subdirectory packagea a file ClassA.javacreate in the subdirectory packageb a file ClassB.javaadd the corresponding code snippets mentioned on page 14 of the study guide to respectively file ClassA.java and file ClassB.javaopen a command prompt windowtype the command cd C:\temp and press the <Enter> keytype the command javac packagea/ClassA.java packageb/ClassB.java and press the <Enter> key againthe two .class files are created successfully
If you are still experiencing any issues, please provide a step-by-step overview of everything you have done.
Hope it helps!
Kind regards,
Roel