Can't compile class using library

Hi!

I have a simple class which uses library A. This library uses another library B in turn. When I try to complie the classs with javac, I get the message 'cannot access C. file C.class not found'

C is the name of the class from library B. I wonder why the compiler need the library B to compile my class which does not have references to it. Library A have such references but I'm not compiling it, I'm compiling my class. It looks like the bug in javac.

JDK 1.4.2_07

[498 byte] By [insolitea] at [2007-10-1 18:14:16]
# 1
Does the class in library A use class C? If so it may return class C or use it as a parameter. In this case the compiler need class C in you refer to class A.
Peter-Lawreya at 2007-7-11 12:59:36 > top of Java-index,Developer Tools,Java Compiler...
# 2
Review the section of the javac documentation "SEARCHING FOR TYPES" and make sure that yor are complying. All dependencies must be satisfied, regardless of whether YOUR class uses something.
ChuckBinga at 2007-7-11 12:59:36 > top of Java-index,Developer Tools,Java Compiler...
# 3

That section says: "The compiler needs type information for every class or interface used, extended, or implemented in the source file. This includes classes and interfaces not explicitly mentioned in the source file but which provide information through inheritance." I don't see how this statement implicates "All dependencies must be satisfied, regardless of whether YOUR class uses something". Could you advise?

insolitea at 2007-7-11 12:59:36 > top of Java-index,Developer Tools,Java Compiler...