private static String determineArch()
	{
		String arch = System.getProperty("os.arch").toLowerCase();

		if(arch.indexOf("x86") >= 0 || arch.matches("i.86"))
			return ARCH_X86;

		if(arch.indexOf("ppc") >= 0 || arch.indexOf("power") >= 0)
			return ARCH_PPC;

		if(arch.indexOf("x86_64") >= 0 || arch.indexOf("amd64") >= 0)
			return ARCH_AMD64;

		if(arch.indexOf("ia64") >= 0)
			return ARCH_IA64;

		if(arch.indexOf("risc") >= 0)
			return ARCH_PA_RISC;

		if(arch.indexOf("sparc") >= 0)
			return ARCH_SPARC;

		handleError("Unknown Architecture", "Your system has an unknown architecture: " + arch);

		return null;
	}