This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Working through the long tutorial, I've got to page 127. After creating the new directory structure, moving the files and refactoring, I can't run my java program. The first line compiles with no problems. [Appendix 1]
The 2nd line consistently gives an error message [Class not found "sis.AllTests"]
Appendix 1: Java compile and command to execute all tests:
Just FYI, if you give the root of a classpath, you don't need to give its sub-packages/dirs as well.
But the root cause is that you're giving the classpath as ".\sis" when it should just be ".", the current directory. Since the package of the class is "sis", it's going to look for the class in ".\sis\sis" as it's assuming ".\sis" is a root classpath, but it isn't: the current directory is.