code: public static String encodeJavaOpts(String javaOpts) {
      String javaOptsBase64 = DatatypeConverter.printBase64Binary(
          javaOpts.getBytes(StandardCharsets.UTF_8));
      return String.format("\"%s\"", javaOptsBase64.replace("=", "(61)"));
    }
docs: Encode the JVM options
  <br> 1. Convert it into Base64 format
  <br> 2. Add \" at the start and at the end
  <br> 3. replace "=" with "(61)" and "&amp;equals;"
  '=' can be parsed in a wrong way by some schedulers (aurora) hence it needs to be escaped.
  
  @return encoded string