Launcher problems

MultipleArgumentsForOptionException: Found multiple arguments for option gameDir

What it looks like in the log

joptsimple.MultipleArgumentsForOptionException: Found multiple arguments for option gameDir, but you asked for only one

How to fix it

  1. Check your launcher's profile settings under Custom Minecraft Arguments (or Extra Game Arguments) and remove any manually added `--gameDir` flags.
  2. If you use HMCL or a similar third-party launcher, open the version management settings for this instance to check if two Forge patches or duplicate OptiFine entries are installed on the same profile.
  3. Create a clean new instance for your Minecraft version, install Forge/NeoForge once, and avoid installing OptiFine via the standalone installer onto an already-modded launcher profile (place the OptiFine `.jar` in the `mods` folder instead, or use Embeddium/Oculus).
  4. Move your `mods`, `config`, and `saves` folders from the broken instance into the newly created instance directory, then update your launcher to its latest release.
LoadersForge, Neoforge
SeverityStops the game
CategoryLauncher problems

Check your own log

Related errors