Hi Cameron,
Assuming that you are in
C:\Cameron directory, try these steps :
[list]
[/list]- Compile the code using javac -d . B.java
- Verify that you have a directory C:\Cameron\A created which has B.class file in it.
- Verify that you are now in C:\Cameron directory.
[list]
[/list]- Compile the code using javac -classpath . -d . C.java
- Verify that you have C.class created in C:\Cameron\A directory.
You may try this with the other piece of code snipplet you pasted.Also, you may try changing the package for C class and see if that compiles.
Let me know if you still face problems.
-- Sandeep
SCJP2, OCSD(Oracle JDeveloper), OCED(Oracle Internet Platform)
[This message has been edited by Desai Sandeep (edited July 24, 2001).]