public void start() {
		timer.schedule(new TimerTask() {
			public void run() {
				update();
				timer.cancel();
			}
	
			private void update() {
				try {
					String line;
					BufferedReader in = new BufferedReader(
							new InputStreamReader(JFrameMain.proc
									.getErrorStream()));
					while ((line = in.readLine()) != null) {
						System.out.println(line);
						if (line.contains("Perhaps a server is already running on that port?")) {
							Thread t = new Thread(new Runnable() {

								@Override
								public void run() {
									JFrameMain.proc.destroy();
									try {
										ConsoleTab.getInstance().stop.setEnabled(false);
										ConsoleTab.getInstance().reload.setEnabled(false);
										ConsoleTab.getInstance().restart.setEnabled(false);
										BukkitServer.getConnection().stop();
										JFrameMain.proc.waitFor();
									} catch (InterruptedException e) {
										System.out.println(e.getMessage());
									}
									ConsoleTab.getInstance().start.setEnabled(true);
									JFrameMain.proc = null;
									JFrameMain.running = false;
									ConsoleTab.getInstance().selectedPlayer = "";
									ConsoleTab.getInstance().playerList.removeAllItems();
									System.out.println("--------------------------------- Server Killed ---------------------------------");
								}

							}, "StopThread");
							t.start();
						}
					}
					in.close();
					
				} catch (Exception ex) {
				}
			}
		}, minutes * 1);
	}