public static Class<?> sendClass() throws IOException, InterruptedException, ClassNotFoundException, InstantiationException, IllegalAccessException{

		String location = "C:/Users/Amey/workspace/example3/exp.jar";
		ArrayList<String> classNames=new ArrayList<String>();
		ZipInputStream zip=new ZipInputStream(new FileInputStream(location));

		for(ZipEntry entry=zip.getNextEntry();entry!=null;entry=zip.getNextEntry())
			if(entry.getName().endsWith(".class") && !entry.isDirectory()) {
				// This ZipEntry represents a class. Now, what class does it represent?
				StringBuilder className=new StringBuilder();
				for(String part : entry.getName().split("/")) {
					className.append(".");
					className.append(part);
					if(part.endsWith(".class"))
						className.setLength(className.length()-".class".length());
				}
				classNames.add(className.toString());
			}
		zip.close();


		JarClassLoader jcl =  new JarClassLoader(location);
		Logger.log(classNames.get(0));
		Class<?> c = jcl.loadClass("temperaturetest.MaxTemperatureMapper123");//classNames.get(0));
		Type[] t = c.getGenericInterfaces();

		Mapper<String, Integer> mp = (Mapper<String, Integer>)c.newInstance();
		mp.map((long) 3, "huj", new Context<String, Integer>());
		return c;
	}