public static void appendPath(URL newURL) throws
       IOException {
       URLClassLoader classLoader = (URLClassLoader)
           ClassLoader.getSystemClassLoader();
       try {
           Method meth = URLClassLoader.class.
               getDeclaredMethod("addURL", urlParams);
           meth.setAccessible(true);
           meth.invoke(classLoader, new Object []
           {newURL});
       } catch (Throwable err) {
           throw new IOException();
       }
   }