Fixed deprecated MaxPermSize for Java 8 in all bash scripts.