The non-splitted program compiles fine. The program is the one for my SCJDtest, so I guess I can not post it. Do you have any example that has a package structure with several inter-dependant programs.
If two classes are in the same package you don't need one to import the other. The package structure should match a directory structure, too. See if this writeup helps see how packages work.
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi