Payara docker doesn't start anymore with a java JVM option with space in it

  1. Start a container with the last image of Payara full server
  2. Using the console, add a new JVM options with a value that contains spaces
    for example: -Djames.smtp.smtpGreeting=“ESMTP Server by xxx”
  3. The container doesn’t restart anymore and you can see the error message
    Error: Could not find or load main class Server

This is due to the way the starting command is build in the script from a command start-domain --dry-run

Any workaround ?