FIX #211 and #232. Checking $java_args[@] for memory settings, too.
Didn't ammend the last fix
Merge pull request #246 from sbt/wip/bash-jvm-options

FIX #211 and #232. Checking $java_args[@] for memory settings, too.