private String readStderrMessagesFromProcess(Process process, TaskMonitor monitor)
			throws IOException {
		StringBuffer buffer = new StringBuffer();
		byte[] bytes = new byte[0x1000];
		InputStream processErrorStream = process.getErrorStream();
		while (!monitor.isCancelled()) {
			int nRead = processErrorStream.read(bytes);
			if (nRead == -1) {
				break;
			}
			buffer.append(new String(bytes, 0, nRead));
		}
		return buffer.toString();
	}
Wrapper class for JAD, a java decompiler.
Ghidra/Features/FileFormats/src/main/java/ghidra/file/jad/OldJad.java