Update Jeval.java

added utilities to assist running from windows command line: 

	public static LinkedList<String> runCommand(List<String> cmda) throws Exception
	{
		
		LinkedList<String> rtn = new LinkedList<String>();
		ProcessBuilder pb = new ProcessBuilder(cmda);
		pb.redirectErrorStream(true);
		Process p = pb.start();
		BufferedReader br = new BufferedReader(new InputStreamReader(p.getInputStream()));
		p.waitFor();
		while(true)
		{
			String l = br.readLine();
			if(l==null){break;}
			rtn.add(l);
		}
		return rtn;
	}
        public static String[] readLinesFromStream(InputStream in, int numlines) throws IOException
        {
            ArrayList<String> rtn;
            rtn = new ArrayList<String>();
            BufferedReader br = new BufferedReader(new InputStreamReader(in));
            for(int i=0;i<numlines;i++)
            {
                String l = br.readLine();
                if(l!=null){rtn.add(l);}
                else{break;}
            }
            return rtn.toArray(new String[0]);
        }
        public static String readLineFromStream(InputStream in) throws IOException
        {
            String rtn;
            String[] rtna = readLinesFromStream(in, 1);
            if(rtna.length>0){rtn = rtna[0];}
            else{rtn = "";}
            return rtn;
        }