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.

Featured Replies

Posted

Trying to make a new forge server for 1.16.5 version. Had original error because it was using the wrong version of java (16 I think) ... So I made my own custom batch file to make it specifically use java 11. Now I'm getting a new message and I cant figure out why. I must be blind. Is it the wrong version of java 11? Or something else. I have always been able to run the modpack just fine on other peoples server... Not sure what that means. Thanks for any help

Also trying with java 8 of several versions

Message

B:\pokermon>"C:\Program Files\Java\jdk-11.0.15.1\bin\java.exe" -Xmx5500M -jar forgeserver.jar nogui java -version
2022-07-23 14:22:10,931 main WARN Advanced terminal features are not available in this environment
[14:22:11] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher running: args [--gameDir, ., --launchTarget, fmlserver, --fml.forgeVersion, 36.2.39, --fml.mcpVersion, 20210115.111550, --fml.mcVersion, 1.16.5, --fml.forgeGroup, net.minecraftforge, nogui, java, -version]
[14:22:11] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher 8.1.3+8.1.3+main-8.1.x.c94d18ec starting: java version 11.0.15.1 by Oracle Corporation
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by cpw.mods.modlauncher.SecureJarHandler (file:/B:/pokermon/libraries/cpw/mods/modlauncher/8.1.3/modlauncher-8.1.3.jar) to field java.util.jar.Manifest.jv
WARNING: Please consider reporting this to the maintainers of cpw.mods.modlauncher.SecureJarHandler
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
[14:22:11] [main/INFO] [op.OptiFineTransformationService/]: OptiFineTransformationService.onLoad
[14:22:11] [main/INFO] [op.OptiFineTransformationService/]: OptiFine ZIP file: B:\pokermon\mods\OptiFine_1.16.5_HD_U_G8 (2).jar
[14:22:11] [main/INFO] [op.OptiFineTransformer/]: Target.PRE_CLASS is available
[14:22:13] [main/INFO] [ne.mi.fm.lo.FixSSL/CORE]: Added Lets Encrypt root certificates as additional trust
Exception in thread "main" [14:22:13] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1050]: joptsimple.OptionMissingRequiredArgumentException: Option version requires an argument
[14:22:13] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1050]:       at joptsimple.RequiredArgumentOptionSpec.detectOptionArgument(RequiredArgumentOptionSpec.java:48)
[14:22:13] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1050]:       at joptsimple.ArgumentAcceptingOptionSpec.handleOption(ArgumentAcceptingOptionSpec.java:257)
[14:22:13] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1050]:       at joptsimple.OptionParser.handleShortOptionToken(OptionParser.java:520)
[14:22:13] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1050]:       at joptsimple.OptionParserState$2.handleArgument(OptionParserState.java:59)
[14:22:13] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1050]:       at joptsimple.OptionParser.parse(OptionParser.java:396)
[14:22:13] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1050]:       at cpw.mods.modlauncher.ArgumentHandler.processArguments(ArgumentHandler.java:62)
[14:22:13] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1050]:       at cpw.mods.modlauncher.TransformationServicesHandler.processArguments(TransformationServicesHandler.java:83)
[14:22:13] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1050]:       at cpw.mods.modlauncher.TransformationServicesHandler.initializeTransformationServices(TransformationServicesHandler.java:58)
[14:22:13] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1050]:       at cpw.mods.modlauncher.Launcher.run(Launcher.java:76)
[14:22:13] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1050]:       at cpw.mods.modlauncher.Launcher.main(Launcher.java:66)
[14:22:13] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1050]:       at net.minecraftforge.server.ServerMain$Runner.runLauncher(ServerMain.java:49)
[14:22:13] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1050]:       at net.minecraftforge.server.ServerMain$Runner.access$100(ServerMain.java:46)
[14:22:13] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1050]:       at net.minecraftforge.server.ServerMain.main(ServerMain.java:43)

B:\pokermon>pause
Press any key to continue . . .

 

My batch file:
 

"C:\Program Files\Java\jdk-11.0.15.1\bin\java.exe" -Xmx5500M -jar forgeserver.jar nogui java -version

pause

 

Thank you

Guest
This topic is now closed to further replies.

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.