Joe Parks
Posts: 107
Nickname: joeparks
Registered: Aug, 2003
|
|
Re: importing a package from a sibling directory
|
Posted: Sep 19, 2003 6:23 AM
|
|
The only way that I am able to duplicate your error message is by invoking javac from within one of the package directories. For example
C:\bankutilities\accountmanipulation>javac AccountManipulation.java
If, using your directory structure, I invoke javac from c:\ then everything compiles correctly. In fact, if I call
C:\>javac bankutilities\accountmanipulation\AccountManipulation.java CustomerData.java gets compiled automatically if its class file is out of date.
If you still cannot get this to work, can you copy and paste your entire DOS session in a reply?
-Joe
|
|