System.setProperty("org.lwjgl.util.NoChecks", "false");
Class minecraftClass = classLoader.loadClass("net.minecraft.client.MinecraftApplet");
return (Applet) minecraftClass.newInstance();
} catch (ClassNotFoundException ex) {
throw new CorruptedMinecraftJarException(ex);
} catch (IllegalAccessException ex) {
throw new CorruptedMinecraftJarException(ex);
} catch (InstantiationException ex) {
throw new CorruptedMinecraftJarException(ex);
} catch (VerifyError ex) {
throw new MinecraftVerifyException(ex);
} catch (Throwable t) {
throw new UnknownMinecraftException(t);
}