Posted October 11, 20214 yr So recently my untouched Forge servers have stopped working. They have worked in the past. The error, I do not understand. Can anyone help? E:\Minecraft Servers\Forge Servers (Modded)\TEST>java -Xmx4096M -Xms4096M -jar modpack.jar -nogui JVM info: Oracle Corporation - 17 - 17+35-LTS-2724 java.net.preferIPv4Stack=true Exception in thread "main" joptsimple.UnrecognizedOptionException: n is not a recognized option at joptsimple.OptionException.unrecognizedOption(OptionException.java:108) at joptsimple.OptionParser.validateOptionCharacters(OptionParser.java:633) at joptsimple.OptionParser.handleShortOptionCluster(OptionParser.java:528) at joptsimple.OptionParser.handleShortOptionToken(OptionParser.java:523) at joptsimple.OptionParserState$2.handleArgument(OptionParserState.java:59) at joptsimple.OptionParser.parse(OptionParser.java:396) at net.minecraftforge.installer.SimpleInstaller.main(SimpleInstaller.java:89) E:\Minecraft Servers\Forge Servers (Modded)\TEST>PAUSE Press any key to continue . . .
October 11, 20214 yr java 17 is not supported yet, use for 1.17 java 16 and for all other versions java 8-15 but minecraft prefer java 8
October 11, 20214 yr Author Heya. So for Forge 1.16.5, how do I use an older Java to launch that? I have not touched my server files, just recently stopped working. Do I need to launch the server with a older Java?
October 11, 20214 yr 36 minutes ago, bradleybrand said: Do I need to launch the server with a older Java? yes you can replace "java" in the command line with the path to older java version
October 11, 20214 yr Author 56 minutes ago, Luis_ST said: yes you can replace "java" in the command line with the path to older java version Thanks. An example to help others (I've increased the RAM): "C:\Program Files\Java\jdk1.8.0_301\bin\java.exe" -Xmx4096M -Xms4096M -jar forge.jar nogui PAUSE I managed to download/install Java 8. On my computer, I have been managing a server with various mods to test before uploading the mods to a G-Portal server. It's easier to fix server issues on your own computer than reuploading files. Edited October 11, 20214 yr by bradleybrand
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.