File parent = new File(elt).getParentFile();
if (parent!=null) {
// first add all jar siblings
// Also tests if parent contains libraries => add to native path
boolean nativePath = false;
File[] siblings = parent.listFiles();
if (siblings!=null) for(int j=0; j<siblings.length; ++j) {
if (siblings[j].getName().endsWith(".jar")){
classPaths.add(siblings[j]);
}
if ((!nativePath) && isNativeLibrary(siblings[j])) nativePath = true;