// Collection of code snippets by Arne Vajhøj 
// (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) 
import java.net.*;
import java.lang.reflect.*;

public class Test {
    public static void main(String[] args) throws Exception {
        URL[] url = new URL[1];
        url[0] = new URL(args[0]);
        ClassLoader cl = new SpecialClassLoader(url);
        Object o = Class.forName("Wrapper", true, cl).newInstance();
        Class[] noc = new Class[0];
        Object[] noo = new Object[0];
        Method m = o.getClass().getMethod("execute",noc);
        m.invoke(o, noo);
    }
}
