classpath设置,class可以设置到目录,jar文件必须设置到具体文件。比如d:/lib/abc.jar
class载入的时候,找到一个的时候,不会再往下找。也就是说,你两个相同的包,谁在前面用谁。