Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Forge 1.14.2 Server failing to launch "gameDir is not a recoginzed option"

Featured Replies

Posted

Startup Log:
 

D:\Servers\Minecraft\Servers\New\1_14_2-Forge>java -Xmx1024M -Xms1024M -jar forge-1.14.2-26.0.5.jar nogui
2019-06-08 12:28:17,308 main WARN Disabling terminal, you're running in an unsupported environment.
[12:28:17.418] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher running: args [--gameDir, ., --launchTarget, fmlserver, --fml.forgeVersion, 26.0.5, --fml.mcpVersion, 20190603.175704, --fml.mcVersion, 1.14.2, --fml.for
geGroup, net.minecraftforge, nogui]
[12:28:17.422] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher starting: java version 1.8.0_211
[12:28:17.658] [main/INFO] [ne.mi.fm.lo.FixSSL/CORE]: Added Lets Encrypt root certificates as additional trust
[12:28:18.089] [main/INFO] [cp.mo.mo.LaunchServiceHandler/MODLAUNCHER]: Launching target 'fmlserver' with arguments [--gameDir, ., nogui]
[12:28:18.759] [main/FATAL] [minecraft/MinecraftServer]: Failed to start the minecraft server
joptsimple.UnrecognizedOptionException: gameDir is not a recognized option


Additional infos:
No mods installed,

vanilla server launches without issues,

same error(s) with "java -jar forge-1.14.2-26.0.5.jar nogui",

does also not attempt to launch a GUI without the "nogui" argument
OS: Win 8.1
 

 

Would be very helpful to find out what causes this and how to fix/circumvent this, thank you!

Edited by Krzd

Same with all versions, forge 26 are in beta state, maybe don't work for server actually, waiting for official reply

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.