Eh, too much trouble. I see you already fixed the exec java bit for Linux. For the others, replace your !"".equals(String) calls (8 instances) with a call to a method like this:
protected boolean hasLength(String str) {
return str != null && str.length() > 0;
}
Your splitting on commas for pool support breaks values with commas in them (e.g., passwords).
Around 831, there should be a null check on getWorkParser.