4 ms·
> classpath lists folders with jars No, the classpath lists folders of classes, or actual paths to jars. Not paths to folders of jars. > then, as far as i can
by junon 5y ago
> classpath lists folders with jars
No, the classpath lists folders of classes, or actual paths to jars. Not paths to folders of jars.
> then, as far as i can recall, each class file can define package namespace so looking at the class path I have no clue what is there or what isn't so classpath errors felt more daunting to me
Classes are resolved from the root of the jar. Just inspect the jar to see what's in it. It's not common for third-party libraries to have conflicting package names.
I don't know why you're talking about tree searches.