Customization with Minecraft - Cant start with java args

AMP works fine with Java args, make sure that you’ve added them under Java and Memory, and not in the additional startup flags section.
You also don’t need Xms, Xmx, jar, or nogui, as AMP handles those.
You may also need to separate them by spaces and not newlines. Worst case you can read the console to see what flags aren’t working in your setup.