anchor.diff:  		if not isUpgrade then question := 'Java was not detected on your machine. Would you like to install it now?'
   		else question := 'The version of java detected on your machine is not compatible with DMDirc. Would you like to install a compatible version now?';
   	end;
  -	
  +
   	canContinue := true;
   	if (needDownload) then begin
   		canContinue := downloadJRE(question);
  
positive.code: 	dir := IncludeTrailingPathDelimiter(ExtractFileDir(paramstr(0)));
  	url := 'http://www.dmdirc.com/getjava/windows/all';
  	Result := false;
  	ExecAndWait('wget.exe -o '+dir+'wgetoutput --spider '+url, true);
  	
  	AssignFile(f, dir+'wgetoutput');
  	Reset(f);
  	line := '';
  
negative.code: // {$DEFINE LAZARUS}
  // {$UNDEF LAZARUS}
  
  //{$DEFINE FORCEJREDOWNLOAD}
  
  uses
  	{$IFDEF LAZARUS}Interfaces, Forms, ComCtrls, Buttons, Messages, Controls, StdCtrls, {$ENDIF}
  	Vista, Windows, SysUtils, classes, registry, strutils {$IFNDEF FPC},masks{$ENDIF};
  
  