private static void checkMinimumJavaVersion() {
		final String version = System.getProperty("java.version");
		if (version.compareTo(MINIMUM_JAVA_VERSION) < 0) {
			try {
				EventQueue.invokeAndWait(new Runnable() {
					public void run() {
						Initializer.sharedInstance().hideSplashScreen();
						if (System.getProperty("os.name").startsWith("Windows")) {
							JOptionPane.showMessageDialog(null, "Your current Java version is " + version + ". A newer version is needed.\nPlease go to http://java.com to get it.");
							try {
								Runtime.getRuntime().exec(new String[] { "explorer", "http://java.com" });
							}
							catch (Exception e) {
							}
						}
						else if (System.getProperty("os.name").startsWith("Linux")) {
							JOptionPane.showMessageDialog(null, "Your current Java version is " + version + ". A newer version is needed.\nPlease go to http://java.com to get it.");
						}
						else if (IS_MAC) {
							JOptionPane.showMessageDialog(null, "Your current Java version is " + version + ". A newer version is needed.\nPlease update it.");
						}
						System.exit(0);
					}
				});
			}
			catch (Exception e) {
				e.printStackTrace();
			}
		}
	}