Dimitris' post is seen to be empty, so I'll restart it as in looking into updating the class loader, it seems that many details may be better handled by the vfs. Here are some candidates:
http://www.peapod.org/vfs.html
http://jakarta.apache.org/commons/sandbox/vfs/
http://openide.netbeans.org/fs/index.html