A class path is not a name, you must add the path to the class path when compiling your code and use Class.forName("Qualified name");