code: public static String decodeJavaOpts(String encodedJavaOpts) {
      String javaOptsBase64 =
          encodedJavaOpts.
              replaceAll("^\"+", "").
              replaceAll("\\s+$", "").
              replace("(61)", "=").
              replace("&equals;", "=");
  
      return new String(
          DatatypeConverter.parseBase64Binary(javaOptsBase64), StandardCharsets.UTF_8);
    }
docs: Decode the JVM options
  <br> 1. strip \" at the start and at the end
  <br> 2. replace "(61)" and "&amp;equals;" with "="
  <br> 3. Revert from Base64 format
  Note that '=' is escaped in two different ways. '(61)' is the new escaping.
  '&amp;equals;' was the original replacement but it is not friendly to bash and
  was causing issues. The original escaping is still left there for reference
  and backward compatibility purposes (to be removed after no topology needs
  it)
  
  @return decoded string