On Redhat 7 when choosing the Java option to point to a Java version other than /opt/java it throws an error that it can't find the java folder path.
On line 87 of install-elasticsarch.sh this is causing the issue and works if removed
["$ES_JAVA_HOME" == "SYSTEM_JAVA" ]
Same for ActiveMQ install
Fix, build and test that the fix works across the different install options