What is likely happening is that the demo gwbk has one garbage collector defined, but the restoration process adds another one. If you restore the demo project, open data/ignition.conf and look for a line containing this:
-XX:+UseG1GC
Comment out that line in the file using ‘#’ at the front of the line. Then try starting the gateway again. I believe we have a bug report on our side to correct this behavior.