OK, I was re-reading Sierra/Bates Chapter 10 before the showdown next month (i.e. gotta take the exam mid-Dec this year). Just when I thought I understood Relative and Absolute Paths, I come across the following statement:
/ (root)
|
|--dirA
|
|-- dirB
|
|--dirC
-cp /dirB:/dirA/dirB/dirC
The first path (/dirB) is invalid since dirB is not a direct subdirectory of root, so dirB will never be searched. And, one more time, for emphasis, since dot (.) is not in the classpath, the current directory will only be searched if it happens to be described elsewhere in the classpath (in this case, dirC).
My question is, when will the first path (/dirB) be valid? If we are in dirA?