anchor.diff:  # Determine the sort of JVM we'll be running on.
   java_ver_output=`"${JAVA:-java}" -version 2>&1`
   jvmver=`echo "$java_ver_output" | grep '[openjdk|java] version' | awk -F'"' 'NR==1 {print $2}' | cut -d\- -f1`
  -#JVM_VERSION=${jvmver%_*}
  -JVM_VERSION=${jvmver%.0_*}
  +JVM_VERSION=${jvmver%_*}
   JVM_PATCH_VERSION=${jvmver#*_}
   
   if [ "$JVM_VERSION" \< "1.8" ] ; then
  
positive.code: #
  # add this if you're having trouble connecting:
  # JVM_OPTS="$JVM_OPTS -Djava.rmi.server.hostname=<public name>"
  JVM_OPTS="$JVM_OPTS -Djava.rmi.server.hostname=`uname -n`"
  #
  # see
  # https://blogs.oracle.com/jmxetc/entry/troubleshooting_connection_problems_in_jconsole
  
negative.code: 
    # turn on JMX authentication. See below for further options
    JVM_OPTS="$JVM_OPTS -Dcom.sun.management.jmxremote.authenticate=true"
  
    # jmx ssl options
    #JVM_OPTS="$JVM_OPTS -Dcom.sun.management.jmxremote.ssl=true"
  