Bug 107826 Serial version quick fix improvements [quick fix]
- Do not put everything on the user class path - Use only the standard output for result and error messages - Remove waitFor() - Read from stream until -1
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/SerialVersionHashProposal.java
*
	 * @param message The message to display
	 */
	protected static void displayErrorMessage(final String message) {
		final Display display= PlatformUI.getWorkbench().getDisplay();
		if (display != null && !display.isDisposed()) {
			display.asyncExec(new Runnable() {
				public final void run() {
					if (display != null && !display.isDisposed()) {
						final Shell shell= display.getActiveShell();
						if (shell != null && !shell.isDisposed())
							MessageDialog.openError(shell, CorrectionMessages.SerialVersionHashProposal_dialog_error_caption, Messages.format(CorrectionMessages.SerialVersionHashProposal_dialog_error_message, message));
					}
				}
			});
		}
	}
	/**
	 * Displays an appropriate error message for a specific problem.
	 *
	 * @param throwable the throwable object to display
	 */
	protected static void displayErrorMessage(final Throwable throwable) {
		displayErrorMessage(throwable.getLocalizedMessage());
	}
	/**
	 * Displays a dialog with a question as message.
	 *
	 * @param title The title to display
	 * @param message The message to display