private static void loadLibraries() throws Exception {
		/* load all software libraries */
		int lwjgl = 0;
		for(File file : new File("libs").listFiles()) {
			String name = file.getName();
			if(!name.endsWith(".jar")) {
				continue;
			}
			if(name.contains("lwjgl")) {
				++lwjgl;
			}
			addSoftwareLibrary(file);
		}
		
		if(lwjgl != 2 || !new File(NATIVE_DIR).exists()) {
			int opt = JOptionPane.showConfirmDialog(null, "The LWJGL Library was incomplete or not found,\n" + ARTIFACT_NAME +
					" requires this library to display the game.\n"
					+ "Do you want to automatically download it?", "Library Not Found", JOptionPane.YES_NO_OPTION,
					JOptionPane.ERROR_MESSAGE);
			if(opt == JOptionPane.YES_OPTION) {
				downloadLWJGL();
				loadLibraries();
			} else {
				System.exit(0);
			}
		}
	}