Hello,
I'm trying to instantiate a class from variable, and written a test script. But, unfortunately, it isn't woriking. There is that script:
Object co1 = new CommandDownloadHttp();
Class cc1 = Class.forName("CommandDownloadHttp");
Object co = cc1.newInstance();
Unfortunately on second line it crashes with java.lang.ClassNotFoundException.
Can you please say me what I am doing wrong?