avail.isAvailable = true;
// Identify
try {
SystemProcess sp = new SystemProcess("identify -version");
sp.start();
BufferedReader bufReader = sp.getInputReader();
String line = bufReader.readLine();
avail.identifyVersion = line;
avail.isIdentifyAvailable = true;
} catch (Exception e) {
avail.isIdentifyAvailable = false;
avail.isAvailable = false;
}
// Convert
try {
SystemProcess sp = new SystemProcess("convert -version");
sp.start();
BufferedReader bufReader = sp.getInputReader();
String line = bufReader.readLine();
avail.convertVersion = line;
avail.isConvertAvailable = true;
} catch (Exception e) {
avail.isConvertAvailable = false;