public JarUtil(Class<?> clazz) {
		String path = clazz.getProtectionDomain().getCodeSource().getLocation()
				.getFile();
		try {
			path = java.net.URLDecoder.decode(path, "UTF-8");
		} catch (java.io.UnsupportedEncodingException e) {
			e.printStackTrace();
		}

		java.io.File jarFile = new java.io.File(path);
		this.jarName = jarFile.getName();

		java.io.File parent = jarFile.getParentFile();
		if (parent != null) {
			this.jarPath = parent.getAbsolutePath();
		}
	}