ok = false;
{ Log.log(Log.ERROR,this,name + " requires" + " jEdit " + MiscUtilities .buildToVersion(arg)); return false; }
	private boolean checkDependencies(String name)	{		int i = 0;		// For `failed dependencies' error message		StringBuffer deps = new StringBuffer();		String[] args = { name };		deps.append(jEdit.getProperty("jar.error.deps",args));		deps.append('\n');		boolean ok = true;		String dep;		while((dep = jEdit.getProperty("plugin." + name + ".depend." + i++)) != null)		{			int index = dep.indexOf(' ');			if(index == -1)			{				deps.append(dep);				deps.append('\n');				ok = false;				continue;			}			String what = dep.substring(0,index);			String arg = dep.substring(index + 1);			String[] args2 = new String[1];			if(what.equals("jedit"))				args2[0] = MiscUtilities.buildToVersion(arg);			else				args2[0] = arg;			deps.append(jEdit.getProperty("jar.what." + what,args2));			deps.append('\n');			if(what.equals("jdk"))			{				if(System.getProperty("java.version")					.compareTo(arg) < 0)					ok = false;			}			else if(what.equals("jedit"))			{				if(jEdit.getBuild().compareTo(arg) < 0)					ok = false;			}			else if(what.equals("class"))			{				try				{					loadClass(arg,false);				}				catch(Exception e)				{					ok = false;				}			}			else				ok = false;		}		if(!ok)			Log.log(Log.WARNING,this,deps);		return ok;	}