Jump to content

Recommended Posts

Posted

For some reason the .bat won't work for my Minecraft server. The jar file works perfectly fine and the server works, but I need more ram for my server so I need to use a .Bat, but the .bat keeps giving me an error

 

C:\Users\Daniel2\Desktop\Server Forge>java -Xmx4G -Xms4G -jar forgeserver.jar -d64 -o true
2019-08-06 20:57:01,366 main WARN Disabling terminal, you're running in an unsupported environment.
[20:57:01.476] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher running: args [--gameDir, ., --launchTarget, fmlserver, --fml.forgeVersion, 28.0.45, --fml.mcpVersion, 20190719.225934, --fml.mcVersion, 1.14.4, --fml.forgeGroup, net.minecraftforge, -d64, -o, true]
[20:57:01.480] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher 3.2.0+60+b86c1d4 starting: java version 11.0.4 by AdoptOpenJDK
[20:57:01.577] [main/INFO] [op.OptiFineTransformationService/]: OptiFineTransformationService.onLoad
[20:57:01.579] [main/INFO] [op.OptiFineTransformationService/]: OptiFine ZIP file: C:\Users\Daniel2\Desktop\Server Forge\.\mods\preview_OptiFine_1.14.4_HD_U_F4_pre1.jar
[20:57:01.580] [main/INFO] [op.OptiFineTransformer/]: Loading access transformer: srg/forge_at.cfg
[20:57:01.590] [main/INFO] [op.OptiFineTransformer/]: Access transformer rules: 133
[20:57:01.747] [main/INFO] [ne.mi.fm.lo.FixSSL/CORE]: Added Lets Encrypt root certificates as additional trust
[20:57:01.757] [main/INFO] [op.OptiFineTransformationService/]: OptiFineTransformationService.initialize
[20:57:02.086] [main/INFO] [STDERR/]: [jdk.nashorn.api.scripting.NashornScriptEngine:<init>:-1]: Warning: Nashorn engine is planned to be removed from a future JDK release
[20:57:02.261] [main/INFO] [op.OptiFineTransformationService/]: OptiFineTransformationService.transformers
[20:57:02.270] [main/INFO] [op.OptiFineTransformer/]: Targets: 238
[20:57:02.415] [main/INFO] [op.OptiFineTransformationService/]: additionalClassesLocator: [optifine., net.optifine.]
[20:57:02.422] [main/INFO] [cp.mo.mo.LaunchServiceHandler/MODLAUNCHER]: Launching target 'fmlserver' with arguments [--gameDir, ., -d64, -o, true]
Exception in thread "main" [20:57:02.500] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: java.lang.RuntimeException: java.lang.UnsupportedOperationException
[20:57:02.501] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]:     at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:39)
[20:57:02.501] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]:     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:50)
[20:57:02.502] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]:     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:68)
[20:57:02.502] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]:     at cpw.mods.modlauncher.Launcher.run(Launcher.java:80)
[20:57:02.503] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]:     at cpw.mods.modlauncher.Launcher.main(Launcher.java:65)
[20:57:02.503] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]:     at net.minecraftforge.server.ServerMain$Runner.runLauncher(ServerMain.java:63)
[20:57:02.503] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]:     at net.minecraftforge.server.ServerMain$Runner.access$100(ServerMain.java:60)
[20:57:02.504] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]:     at net.minecraftforge.server.ServerMain.main(ServerMain.java:57)
[20:57:02.504] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: Caused by: java.lang.UnsupportedOperationException
[20:57:02.505] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]:     at org.objectweb.asm.ClassVisitor.visitNestMemberExperimental(ClassVisitor.java:248)
[20:57:02.505] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]:     at org.objectweb.asm.ClassReader.accept(ClassReader.java:651)
[20:57:02.506] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]:     at org.objectweb.asm.ClassReader.accept(ClassReader.java:391)
[20:57:02.506] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]:     at cpw.mods.modlauncher.TransformerClassWriter.computeHierarchy(TransformerClassWriter.java:83)
[20:57:02.506] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]:     at cpw.mods.modlauncher.TransformerClassWriter.access$100(TransformerClassWriter.java:35)
[20:57:02.507] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]:     at cpw.mods.modlauncher.TransformerClassWriter$SuperCollectingVisitor.visit(TransformerClassWriter.java:129)
[20:57:02.507] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]:     at org.objectweb.asm.ClassReader.accept(ClassReader.java:525)
[20:57:02.507] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]:     at org.objectweb.asm.ClassReader.accept(ClassReader.java:391)
[20:57:02.508] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]:     at cpw.mods.modlauncher.TransformerClassWriter.computeHierarchy(TransformerClassWriter.java:83)
[20:57:02.508] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]:     at cpw.mods.modlauncher.TransformerClassWriter.access$100(TransformerClassWriter.java:35)
[20:57:02.508] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]:     at cpw.mods.modlauncher.TransformerClassWriter$SuperCollectingVisitor.visit(TransformerClassWriter.java:129)
[20:57:02.508] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]:     at org.objectweb.asm.ClassReader.accept(ClassReader.java:525)
[20:57:02.511] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]:     at org.objectweb.asm.ClassReader.accept(ClassReader.java:391)
[20:57:02.512] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]:     at cpw.mods.modlauncher.TransformerClassWriter.computeHierarchy(TransformerClassWriter.java:83)
[20:57:02.512] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]:     at cpw.mods.modlauncher.TransformerClassWriter.access$100(TransformerClassWriter.java:35)
[20:57:02.512] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]:     at cpw.mods.modlauncher.TransformerClassWriter$SuperCollectingVisitor.visit(TransformerClassWriter.java:129)
[20:57:02.513] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]:     at org.objectweb.asm.ClassReader.accept(ClassReader.java:525)
[20:57:02.513] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]:     at org.objectweb.asm.ClassReader.accept(ClassReader.java:391)
[20:57:02.513] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]:     at cpw.mods.modlauncher.TransformerClassWriter.computeHierarchy(TransformerClassWriter.java:83)
[20:57:02.513] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]:     at cpw.mods.modlauncher.TransformerClassWriter.getSupers(TransformerClassWriter.java:54)
[20:57:02.514] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]:     at cpw.mods.modlauncher.TransformerClassWriter.getCommonSuperClass(TransformerClassWriter.java:99)
[20:57:02.514] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]:     at org.objectweb.asm.SymbolTable.addMergedType(SymbolTable.java:1209)
[20:57:02.514] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]:     at org.objectweb.asm.Frame.merge(Frame.java:1293)
[20:57:02.515] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]:     at org.objectweb.asm.Frame.merge(Frame.java:1175)
[20:57:02.515] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]:     at org.objectweb.asm.MethodWriter.computeAllFrames(MethodWriter.java:1604)
[20:57:02.515] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]:     at org.objectweb.asm.MethodWriter.visitMaxs(MethodWriter.java:1540)
[20:57:02.516] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]:     at org.objectweb.asm.tree.MethodNode.accept(MethodNode.java:807)
[20:57:02.516] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]:     at org.objectweb.asm.tree.MethodNode.accept(MethodNode.java:687)
[20:57:02.516] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]:     at org.objectweb.asm.tree.ClassNode.accept(ClassNode.java:436)
[20:57:02.517] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]:     at cpw.mods.modlauncher.ClassTransformer.transform(ClassTransformer.java:120)
[20:57:02.517] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]:     at cpw.mods.modlauncher.TransformingClassLoader$DelegatedClassLoader.findClass(TransformingClassLoader.java:236)
[20:57:02.517] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]:     at cpw.mods.modlauncher.TransformingClassLoader.loadClass(TransformingClassLoader.java:127)
[20:57:02.517] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]:     at cpw.mods.modlauncher.TransformingClassLoader.loadClass(TransformingClassLoader.java:97)
[20:57:02.518] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]:     at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
[20:57:02.518] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]:     at java.base/java.lang.Class.forName0(Native Method)
[20:57:02.518] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]:     at java.base/java.lang.Class.forName(Unknown Source)
[20:57:02.518] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]:     at net.minecraftforge.fml.loading.FMLServerLaunchProvider.lambda$launchService$0(FMLServerLaunchProvider.java:50)
[20:57:02.519] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]:     at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37)
[20:57:02.519] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]:     ... 7 more

C:\Users\Daniel2\Desktop\Server Forge>PAUSE
Press any key to continue . . .

Posted

Use Java 8, 9, or 10. 11 is not supported yet.

This is my Forum Signature, I am currently attempting to transform it into a small guide for fixing easier issues using spoiler blocks to keep things tidy.

 

As the most common issue I feel I should put this outside the main bulk:

The only official source for Forge is https://files.minecraftforge.net, and the only site I trust for getting mods is CurseForge.

If you use any site other than these, please take a look at the StopModReposts project and install their browser extension, I would also advise running a virus scan.

 

For players asking for assistance with Forge please expand the spoiler below and read the appropriate section(s) in its/their entirety.

Spoiler

Logs (Most issues require logs to diagnose):

Spoiler

Please post logs using one of the following sites (Thank you Lumber Wizard for the list):

https://gist.github.com/100MB Requires member (Free)

https://pastebin.com/: 512KB as guest, 10MB as Pro ($$$)

https://hastebin.com/: 400KB

Do NOT use sites like Mediafire, Dropbox, OneDrive, Google Drive, or a site that has a countdown before offering downloads.

 

What to provide:

...for Crashes and Runtime issues:

Minecraft 1.14.4 and newer:

Post debug.log

Older versions:

Please update...

 

...for Installer Issues:

Post your installer log, found in the same place you ran the installer

This log will be called either installer.log or named the same as the installer but with .log on the end

Note for Windows users:

Windows hides file extensions by default so the installer may appear without the .jar extension then when the .log is added the log will appear with the .jar extension

 

Where to get it:

Mojang Launcher: When using the Mojang launcher debug.log is found in .minecraft\logs.

 

Curse/Overwolf: If you are using the Curse Launcher, their configurations break Forge's log settings, fortunately there is an easier workaround than I originally thought, this works even with Curse's installation of the Minecraft launcher as long as it is not launched THROUGH Twitch:

Spoiler
  1. Make sure you have the correct version of Forge installed (some packs are heavily dependent on one specific build of Forge)
  2. Make a launcher profile targeting this version of Forge.
  3. Set the launcher profile's GameDir property to the pack's instance folder (not the instances folder, the folder that has the pack's name on it).
  4. Now launch the pack through that profile and follow the "Mojang Launcher" instructions above.

Video:

Spoiler

 

 

 

or alternately, 

 

Fallback ("No logs are generated"):

If you don't see logs generated in the usual place, provide the launcher_log.txt from .minecraft

 

Server Not Starting:

Spoiler

If your server does not start or a command window appears and immediately goes away, run the jar manually and provide the output.

 

Reporting Illegal/Inappropriate Adfocus Ads:

Spoiler

Get a screenshot of the URL bar or copy/paste the whole URL into a thread on the General Discussion board with a description of the Ad.

Lex will need the Ad ID contained in that URL to report it to Adfocus' support team.

 

Posting your mod as a GitHub Repo:

Spoiler

When you have an issue with your mod the most helpful thing you can do when asking for help is to provide your code to those helping you. The most convenient way to do this is via GitHub or another source control hub.

When setting up a GitHub Repo it might seem easy to just upload everything, however this method has the potential for mistakes that could lead to trouble later on, it is recommended to use a Git client or to get comfortable with the Git command line. The following instructions will use the Git Command Line and as such they assume you already have it installed and that you have created a repository.

 

  1. Open a command prompt (CMD, Powershell, Terminal, etc).
  2. Navigate to the folder you extracted Forge’s MDK to (the one that had all the licenses in).
  3. Run the following commands:
    1. git init
    2. git remote add origin [Your Repository's URL]
      • In the case of GitHub it should look like: https://GitHub.com/[Your Username]/[Repo Name].git
    3. git fetch
    4. git checkout --track origin/master
    5. git stage *
    6. git commit -m "[Your commit message]"
    7. git push
  4. Navigate to GitHub and you should now see most of the files.
    • note that it is intentional that some are not synced with GitHub and this is done with the (hidden) .gitignore file that Forge’s MDK has provided (hence the strictness on which folder git init is run from)
  5. Now you can share your GitHub link with those who you are asking for help.

[Workaround line, please ignore]

 

Posted
Just now, andrewdanny said:

I am indeed using Java 8, I installed it twice and it didnt work.

25 minutes ago, andrewdanny said:

[20:57:01.480] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher 3.2.0+60+b86c1d4 starting: java version 11.0.4 by AdoptOpenJDK

No you aren't

This is my Forum Signature, I am currently attempting to transform it into a small guide for fixing easier issues using spoiler blocks to keep things tidy.

 

As the most common issue I feel I should put this outside the main bulk:

The only official source for Forge is https://files.minecraftforge.net, and the only site I trust for getting mods is CurseForge.

If you use any site other than these, please take a look at the StopModReposts project and install their browser extension, I would also advise running a virus scan.

 

For players asking for assistance with Forge please expand the spoiler below and read the appropriate section(s) in its/their entirety.

Spoiler

Logs (Most issues require logs to diagnose):

Spoiler

Please post logs using one of the following sites (Thank you Lumber Wizard for the list):

https://gist.github.com/100MB Requires member (Free)

https://pastebin.com/: 512KB as guest, 10MB as Pro ($$$)

https://hastebin.com/: 400KB

Do NOT use sites like Mediafire, Dropbox, OneDrive, Google Drive, or a site that has a countdown before offering downloads.

 

What to provide:

...for Crashes and Runtime issues:

Minecraft 1.14.4 and newer:

Post debug.log

Older versions:

Please update...

 

...for Installer Issues:

Post your installer log, found in the same place you ran the installer

This log will be called either installer.log or named the same as the installer but with .log on the end

Note for Windows users:

Windows hides file extensions by default so the installer may appear without the .jar extension then when the .log is added the log will appear with the .jar extension

 

Where to get it:

Mojang Launcher: When using the Mojang launcher debug.log is found in .minecraft\logs.

 

Curse/Overwolf: If you are using the Curse Launcher, their configurations break Forge's log settings, fortunately there is an easier workaround than I originally thought, this works even with Curse's installation of the Minecraft launcher as long as it is not launched THROUGH Twitch:

Spoiler
  1. Make sure you have the correct version of Forge installed (some packs are heavily dependent on one specific build of Forge)
  2. Make a launcher profile targeting this version of Forge.
  3. Set the launcher profile's GameDir property to the pack's instance folder (not the instances folder, the folder that has the pack's name on it).
  4. Now launch the pack through that profile and follow the "Mojang Launcher" instructions above.

Video:

Spoiler

 

 

 

or alternately, 

 

Fallback ("No logs are generated"):

If you don't see logs generated in the usual place, provide the launcher_log.txt from .minecraft

 

Server Not Starting:

Spoiler

If your server does not start or a command window appears and immediately goes away, run the jar manually and provide the output.

 

Reporting Illegal/Inappropriate Adfocus Ads:

Spoiler

Get a screenshot of the URL bar or copy/paste the whole URL into a thread on the General Discussion board with a description of the Ad.

Lex will need the Ad ID contained in that URL to report it to Adfocus' support team.

 

Posting your mod as a GitHub Repo:

Spoiler

When you have an issue with your mod the most helpful thing you can do when asking for help is to provide your code to those helping you. The most convenient way to do this is via GitHub or another source control hub.

When setting up a GitHub Repo it might seem easy to just upload everything, however this method has the potential for mistakes that could lead to trouble later on, it is recommended to use a Git client or to get comfortable with the Git command line. The following instructions will use the Git Command Line and as such they assume you already have it installed and that you have created a repository.

 

  1. Open a command prompt (CMD, Powershell, Terminal, etc).
  2. Navigate to the folder you extracted Forge’s MDK to (the one that had all the licenses in).
  3. Run the following commands:
    1. git init
    2. git remote add origin [Your Repository's URL]
      • In the case of GitHub it should look like: https://GitHub.com/[Your Username]/[Repo Name].git
    3. git fetch
    4. git checkout --track origin/master
    5. git stage *
    6. git commit -m "[Your commit message]"
    7. git push
  4. Navigate to GitHub and you should now see most of the files.
    • note that it is intentional that some are not synced with GitHub and this is done with the (hidden) .gitignore file that Forge’s MDK has provided (hence the strictness on which folder git init is run from)
  5. Now you can share your GitHub link with those who you are asking for help.

[Workaround line, please ignore]

 

Posted
17 minutes ago, DaemonUmbra said:

No you aren't

I now have a new error

 

Invalid maximum heap size: -Xmx4096M
The specified size exceeds the maximum representable size.
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

Posted

That new message indicates you're using 32-Bit Java

This is my Forum Signature, I am currently attempting to transform it into a small guide for fixing easier issues using spoiler blocks to keep things tidy.

 

As the most common issue I feel I should put this outside the main bulk:

The only official source for Forge is https://files.minecraftforge.net, and the only site I trust for getting mods is CurseForge.

If you use any site other than these, please take a look at the StopModReposts project and install their browser extension, I would also advise running a virus scan.

 

For players asking for assistance with Forge please expand the spoiler below and read the appropriate section(s) in its/their entirety.

Spoiler

Logs (Most issues require logs to diagnose):

Spoiler

Please post logs using one of the following sites (Thank you Lumber Wizard for the list):

https://gist.github.com/100MB Requires member (Free)

https://pastebin.com/: 512KB as guest, 10MB as Pro ($$$)

https://hastebin.com/: 400KB

Do NOT use sites like Mediafire, Dropbox, OneDrive, Google Drive, or a site that has a countdown before offering downloads.

 

What to provide:

...for Crashes and Runtime issues:

Minecraft 1.14.4 and newer:

Post debug.log

Older versions:

Please update...

 

...for Installer Issues:

Post your installer log, found in the same place you ran the installer

This log will be called either installer.log or named the same as the installer but with .log on the end

Note for Windows users:

Windows hides file extensions by default so the installer may appear without the .jar extension then when the .log is added the log will appear with the .jar extension

 

Where to get it:

Mojang Launcher: When using the Mojang launcher debug.log is found in .minecraft\logs.

 

Curse/Overwolf: If you are using the Curse Launcher, their configurations break Forge's log settings, fortunately there is an easier workaround than I originally thought, this works even with Curse's installation of the Minecraft launcher as long as it is not launched THROUGH Twitch:

Spoiler
  1. Make sure you have the correct version of Forge installed (some packs are heavily dependent on one specific build of Forge)
  2. Make a launcher profile targeting this version of Forge.
  3. Set the launcher profile's GameDir property to the pack's instance folder (not the instances folder, the folder that has the pack's name on it).
  4. Now launch the pack through that profile and follow the "Mojang Launcher" instructions above.

Video:

Spoiler

 

 

 

or alternately, 

 

Fallback ("No logs are generated"):

If you don't see logs generated in the usual place, provide the launcher_log.txt from .minecraft

 

Server Not Starting:

Spoiler

If your server does not start or a command window appears and immediately goes away, run the jar manually and provide the output.

 

Reporting Illegal/Inappropriate Adfocus Ads:

Spoiler

Get a screenshot of the URL bar or copy/paste the whole URL into a thread on the General Discussion board with a description of the Ad.

Lex will need the Ad ID contained in that URL to report it to Adfocus' support team.

 

Posting your mod as a GitHub Repo:

Spoiler

When you have an issue with your mod the most helpful thing you can do when asking for help is to provide your code to those helping you. The most convenient way to do this is via GitHub or another source control hub.

When setting up a GitHub Repo it might seem easy to just upload everything, however this method has the potential for mistakes that could lead to trouble later on, it is recommended to use a Git client or to get comfortable with the Git command line. The following instructions will use the Git Command Line and as such they assume you already have it installed and that you have created a repository.

 

  1. Open a command prompt (CMD, Powershell, Terminal, etc).
  2. Navigate to the folder you extracted Forge’s MDK to (the one that had all the licenses in).
  3. Run the following commands:
    1. git init
    2. git remote add origin [Your Repository's URL]
      • In the case of GitHub it should look like: https://GitHub.com/[Your Username]/[Repo Name].git
    3. git fetch
    4. git checkout --track origin/master
    5. git stage *
    6. git commit -m "[Your commit message]"
    7. git push
  4. Navigate to GitHub and you should now see most of the files.
    • note that it is intentional that some are not synced with GitHub and this is done with the (hidden) .gitignore file that Forge’s MDK has provided (hence the strictness on which folder git init is run from)
  5. Now you can share your GitHub link with those who you are asking for help.

[Workaround line, please ignore]

 

Posted
18 minutes ago, DaemonUmbra said:

That new message indicates you're using 32-Bit Java

Now I have this error 

 

Picked up _JAVA_OPTIONS: -Xmx4G
2019-08-06 21:58:43,657 main WARN Disabling terminal, you're running in an unsupported environment.
[21:58:43.749] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher running: args [--gameDir, ., --launchTarget, fmlserver, --fml.forgeVersion, 28.0.45, --fml.mcpVersion, 20190719.225934, --fml.mcVersion, 1.14.4, --fml.forgeGroup, net.minecraftforge, -d64, -o, true]
[21:58:43.753] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher 3.2.0+60+b86c1d4 starting: java version 1.8.0_221 by Oracle Corporation
[21:58:43.806] [main/INFO] [op.OptiFineTransformationService/]: OptiFineTransformationService.onLoad
[21:58:43.807] [main/INFO] [op.OptiFineTransformationService/]: OptiFine ZIP file: C:\Users\Daniel2\Desktop\Server Forge\.\mods\preview_OptiFine_1.14.4_HD_U_F4_pre1.jar
[21:58:43.808] [main/INFO] [op.OptiFineTransformer/]: Loading access transformer: srg/forge_at.cfg
[21:58:43.812] [main/INFO] [op.OptiFineTransformer/]: Access transformer rules: 133
[21:58:44.059] [main/INFO] [ne.mi.fm.lo.FixSSL/CORE]: Added Lets Encrypt root certificates as additional trust
[21:58:44.069] [main/INFO] [op.OptiFineTransformationService/]: OptiFineTransformationService.initialize
[21:58:44.585] [main/INFO] [op.OptiFineTransformationService/]: OptiFineTransformationService.transformers
[21:58:44.596] [main/INFO] [op.OptiFineTransformer/]: Targets: 238
[21:58:44.724] [main/INFO] [op.OptiFineTransformationService/]: additionalClassesLocator: [optifine., net.optifine.]
[21:58:44.735] [main/INFO] [cp.mo.mo.LaunchServiceHandler/MODLAUNCHER]: Launching target 'fmlserver' with arguments [--gameDir, ., -d64, -o, true]
[21:58:44.834] [main/INFO] [STDERR/]: [optifine.OptiFineTransformer:getOptiFineResourcePatched:403]: java.io.IOException: Base resource not found: agq.class
[21:58:44.835] [main/INFO] [STDERR/]: [optifine.OptiFineTransformer:getOptiFineResourcePatched:403]:    at optifine.Patcher.applyPatch(Patcher.java:146)
[21:58:44.835] [main/INFO] [STDERR/]: [optifine.OptiFineTransformer:getOptiFineResourcePatched:403]:    at optifine.OptiFineTransformer.getOptiFineResourcePatched(OptiFineTransformer.java:385)
[21:58:44.836] [main/INFO] [STDERR/]: [optifine.OptiFineTransformer:getOptiFineResourcePatched:403]:    at optifine.OptiFineTransformer.getOptiFineResourceStreamPatched(OptiFineTransformer.java:357)
[21:58:44.836] [main/INFO] [STDERR/]: [optifine.OptiFineTransformer:getOptiFineResourcePatched:403]:    at optifine.OptiFineTransformer.getOptiFineResourceStream(OptiFineTransformer.java:281)
[21:58:44.837] [main/INFO] [STDERR/]: [optifine.OptiFineTransformer:getOptiFineResourcePatched:403]:    at optifine.OptiFineTransformer.getOptiFineResource(OptiFineTransformer.java:250)
[21:58:44.839] [main/INFO] [STDERR/]: [optifine.OptiFineTransformer:getOptiFineResourcePatched:403]:    at optifine.OptiFineTransformer.transform(OptiFineTransformer.java:160)
[21:58:44.840] [main/INFO] [STDERR/]: [optifine.OptiFineTransformer:getOptiFineResourcePatched:403]:    at optifine.OptiFineTransformer.transform(OptiFineTransformer.java:1)
[21:58:44.841] [main/INFO] [STDERR/]: [optifine.OptiFineTransformer:getOptiFineResourcePatched:403]:    at cpw.mods.modlauncher.TransformerHolder.transform(TransformerHolder.java:41)
[21:58:44.843] [main/INFO] [STDERR/]: [optifine.OptiFineTransformer:getOptiFineResourcePatched:403]:    at cpw.mods.modlauncher.ClassTransformer.performVote(ClassTransformer.java:167)
[21:58:44.846] [main/INFO] [STDERR/]: [optifine.OptiFineTransformer:getOptiFineResourcePatched:403]:    at cpw.mods.modlauncher.ClassTransformer.transform(ClassTransformer.java:111)
[21:58:44.849] [main/INFO] [STDERR/]: [optifine.OptiFineTransformer:getOptiFineResourcePatched:403]:    at cpw.mods.modlauncher.TransformingClassLoader$DelegatedClassLoader.findClass(TransformingClassLoader.java:236)
[21:58:44.853] [main/INFO] [STDERR/]: [optifine.OptiFineTransformer:getOptiFineResourcePatched:403]:    at cpw.mods.modlauncher.TransformingClassLoader.loadClass(TransformingClassLoader.java:127)
[21:58:44.856] [main/INFO] [STDERR/]: [optifine.OptiFineTransformer:getOptiFineResourcePatched:403]:    at cpw.mods.modlauncher.TransformingClassLoader.loadClass(TransformingClassLoader.java:97)
[21:58:44.859] [main/INFO] [STDERR/]: [optifine.OptiFineTransformer:getOptiFineResourcePatched:403]:    at java.lang.ClassLoader.loadClass(Unknown Source)
[21:58:44.860] [main/INFO] [STDERR/]: [optifine.OptiFineTransformer:getOptiFineResourcePatched:403]:    at java.lang.ClassLoader.defineClass1(Native Method)
[21:58:44.862] [main/INFO] [STDERR/]: [optifine.OptiFineTransformer:getOptiFineResourcePatched:403]:    at java.lang.ClassLoader.defineClass(Unknown Source)
[21:58:44.863] [main/INFO] [STDERR/]: [optifine.OptiFineTransformer:getOptiFineResourcePatched:403]:    at java.lang.ClassLoader.defineClass(Unknown Source)
[21:58:44.864] [main/INFO] [STDERR/]: [optifine.OptiFineTransformer:getOptiFineResourcePatched:403]:    at cpw.mods.modlauncher.TransformingClassLoader.loadClass(TransformingClassLoader.java:128)
[21:58:44.864] [main/INFO] [STDERR/]: [optifine.OptiFineTransformer:getOptiFineResourcePatched:403]:    at cpw.mods.modlauncher.TransformingClassLoader.loadClass(TransformingClassLoader.java:97)
[21:58:44.865] [main/INFO] [STDERR/]: [optifine.OptiFineTransformer:getOptiFineResourcePatched:403]:    at java.lang.ClassLoader.loadClass(Unknown Source)
[21:58:44.865] [main/INFO] [STDERR/]: [optifine.OptiFineTransformer:getOptiFineResourcePatched:403]:    at java.lang.ClassLoader.defineClass1(Native Method)
[21:58:44.866] [main/INFO] [STDERR/]: [optifine.OptiFineTransformer:getOptiFineResourcePatched:403]:    at java.lang.ClassLoader.defineClass(Unknown Source)
[21:58:44.866] [main/INFO] [STDERR/]: [optifine.OptiFineTransformer:getOptiFineResourcePatched:403]:    at java.lang.ClassLoader.defineClass(Unknown Source)
[21:58:44.867] [main/INFO] [STDERR/]: [optifine.OptiFineTransformer:getOptiFineResourcePatched:403]:    at cpw.mods.modlauncher.TransformingClassLoader.loadClass(TransformingClassLoader.java:128)
[21:58:44.868] [main/INFO] [STDERR/]: [optifine.OptiFineTransformer:getOptiFineResourcePatched:403]:    at cpw.mods.modlauncher.TransformingClassLoader.loadClass(TransformingClassLoader.java:97)
[21:58:44.868] [main/INFO] [STDERR/]: [optifine.OptiFineTransformer:getOptiFineResourcePatched:403]:    at java.lang.ClassLoader.loadClass(Unknown Source)
[21:58:44.869] [main/INFO] [STDERR/]: [optifine.OptiFineTransformer:getOptiFineResourcePatched:403]:    at java.lang.Class.forName0(Native Method)
[21:58:44.870] [main/INFO] [STDERR/]: [optifine.OptiFineTransformer:getOptiFineResourcePatched:403]:    at java.lang.Class.forName(Unknown Source)
[21:58:44.871] [main/INFO] [STDERR/]: [optifine.OptiFineTransformer:getOptiFineResourcePatched:403]:    at net.minecraftforge.fml.loading.FMLServerLaunchProvider.lambda$launchService$0(FMLServerLaunchProvider.java:50)
[21:58:44.872] [main/INFO] [STDERR/]: [optifine.OptiFineTransformer:getOptiFineResourcePatched:403]:    at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37)
[21:58:44.875] [main/INFO] [STDERR/]: [optifine.OptiFineTransformer:getOptiFineResourcePatched:403]:    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:50)
[21:58:44.876] [main/INFO] [STDERR/]: [optifine.OptiFineTransformer:getOptiFineResourcePatched:403]:    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:68)
[21:58:44.876] [main/INFO] [STDERR/]: [optifine.OptiFineTransformer:getOptiFineResourcePatched:403]:    at cpw.mods.modlauncher.Launcher.run(Launcher.java:80)
[21:58:44.877] [main/INFO] [STDERR/]: [optifine.OptiFineTransformer:getOptiFineResourcePatched:403]:    at cpw.mods.modlauncher.Launcher.main(Launcher.java:65)
[21:58:44.878] [main/INFO] [STDERR/]: [optifine.OptiFineTransformer:getOptiFineResourcePatched:403]:    at net.minecraftforge.server.ServerMain$Runner.runLauncher(ServerMain.java:63)
[21:58:44.879] [main/INFO] [STDERR/]: [optifine.OptiFineTransformer:getOptiFineResourcePatched:403]:    at net.minecraftforge.server.ServerMain$Runner.access$100(ServerMain.java:60)
[21:58:44.880] [main/INFO] [STDERR/]: [optifine.OptiFineTransformer:getOptiFineResourcePatched:403]:    at net.minecraftforge.server.ServerMain.main(ServerMain.java:57)
[21:58:45.071] [main/INFO] [STDERR/]: [optifine.OptiFineTransformer:getOptiFineResourcePatched:403]: java.io.IOException: Base resource not found: d.class
[21:58:45.071] [main/INFO] [STDERR/]: [optifine.OptiFineTransformer:getOptiFineResourcePatched:403]:    at optifine.Patcher.applyPatch(Patcher.java:146)
[21:58:45.072] [main/INFO] [STDERR/]: [optifine.OptiFineTransformer:getOptiFineResourcePatched:403]:    at optifine.OptiFineTransformer.getOptiFineResourcePatched(OptiFineTransformer.java:385)
[21:58:45.072] [main/INFO] [STDERR/]: [optifine.OptiFineTransformer:getOptiFineResourcePatched:403]:    at optifine.OptiFineTransformer.getOptiFineResourceStreamPatched(OptiFineTransformer.java:357)
[21:58:45.072] [main/INFO] [STDERR/]: [optifine.OptiFineTransformer:getOptiFineResourcePatched:403]:    at optifine.OptiFineTransformer.getOptiFineResourceStream(OptiFineTransformer.java:281)
[21:58:45.073] [main/INFO] [STDERR/]: [optifine.OptiFineTransformer:getOptiFineResourcePatched:403]:    at optifine.OptiFineTransformer.getOptiFineResource(OptiFineTransformer.java:250)
[21:58:45.073] [main/INFO] [STDERR/]: [optifine.OptiFineTransformer:getOptiFineResourcePatched:403]:    at optifine.OptiFineTransformer.transform(OptiFineTransformer.java:160)
[21:58:45.073] [main/INFO] [STDERR/]: [optifine.OptiFineTransformer:getOptiFineResourcePatched:403]:    at optifine.OptiFineTransformer.transform(OptiFineTransformer.java:1)
[21:58:45.074] [main/INFO] [STDERR/]: [optifine.OptiFineTransformer:getOptiFineResourcePatched:403]:    at cpw.mods.modlauncher.TransformerHolder.transform(TransformerHolder.java:41)
[21:58:45.074] [main/INFO] [STDERR/]: [optifine.OptiFineTransformer:getOptiFineResourcePatched:403]:    at cpw.mods.modlauncher.ClassTransformer.performVote(ClassTransformer.java:167)
[21:58:45.074] [main/INFO] [STDERR/]: [optifine.OptiFineTransformer:getOptiFineResourcePatched:403]:    at cpw.mods.modlauncher.ClassTransformer.transform(ClassTransformer.java:111)
[21:58:45.074] [main/INFO] [STDERR/]: [optifine.OptiFineTransformer:getOptiFineResourcePatched:403]:    at cpw.mods.modlauncher.TransformingClassLoader$DelegatedClassLoader.findClass(TransformingClassLoader.java:236)
[21:58:45.075] [main/INFO] [STDERR/]: [optifine.OptiFineTransformer:getOptiFineResourcePatched:403]:    at cpw.mods.modlauncher.TransformingClassLoader.loadClass(TransformingClassLoader.java:127)
[21:58:45.075] [main/INFO] [STDERR/]: [optifine.OptiFineTransformer:getOptiFineResourcePatched:403]:    at cpw.mods.modlauncher.TransformingClassLoader.loadClass(TransformingClassLoader.java:97)
[21:58:45.075] [main/INFO] [STDERR/]: [optifine.OptiFineTransformer:getOptiFineResourcePatched:403]:    at java.lang.ClassLoader.loadClass(Unknown Source)
[21:58:45.076] [main/INFO] [STDERR/]: [optifine.OptiFineTransformer:getOptiFineResourcePatched:403]:    at java.lang.Class.getDeclaredMethods0(Native Method)
[21:58:45.076] [main/INFO] [STDERR/]: [optifine.OptiFineTransformer:getOptiFineResourcePatched:403]:    at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
[21:58:45.076] [main/INFO] [STDERR/]: [optifine.OptiFineTransformer:getOptiFineResourcePatched:403]:    at java.lang.Class.privateGetMethodRecursive(Unknown Source)
[21:58:45.077] [main/INFO] [STDERR/]: [optifine.OptiFineTransformer:getOptiFineResourcePatched:403]:    at java.lang.Class.getMethod0(Unknown Source)
[21:58:45.078] [main/INFO] [STDERR/]: [optifine.OptiFineTransformer:getOptiFineResourcePatched:403]:    at java.lang.Class.getMethod(Unknown Source)
[21:58:45.079] [main/INFO] [STDERR/]: [optifine.OptiFineTransformer:getOptiFineResourcePatched:403]:    at net.minecraftforge.fml.loading.FMLServerLaunchProvider.lambda$launchService$0(FMLServerLaunchProvider.java:50)
[21:58:45.079] [main/INFO] [STDERR/]: [optifine.OptiFineTransformer:getOptiFineResourcePatched:403]:    at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37)
[21:58:45.079] [main/INFO] [STDERR/]: [optifine.OptiFineTransformer:getOptiFineResourcePatched:403]:    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:50)
[21:58:45.079] [main/INFO] [STDERR/]: [optifine.OptiFineTransformer:getOptiFineResourcePatched:403]:    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:68)
[21:58:45.080] [main/INFO] [STDERR/]: [optifine.OptiFineTransformer:getOptiFineResourcePatched:403]:    at cpw.mods.modlauncher.Launcher.run(Launcher.java:80)
[21:58:45.080] [main/INFO] [STDERR/]: [optifine.OptiFineTransformer:getOptiFineResourcePatched:403]:    at cpw.mods.modlauncher.Launcher.main(Launcher.java:65)
[21:58:45.080] [main/INFO] [STDERR/]: [optifine.OptiFineTransformer:getOptiFineResourcePatched:403]:    at net.minecraftforge.server.ServerMain$Runner.runLauncher(ServerMain.java:63)
[21:58:45.080] [main/INFO] [STDERR/]: [optifine.OptiFineTransformer:getOptiFineResourcePatched:403]:    at net.minecraftforge.server.ServerMain$Runner.access$100(ServerMain.java:60)
[21:58:45.081] [main/INFO] [STDERR/]: [optifine.OptiFineTransformer:getOptiFineResourcePatched:403]:    at net.minecraftforge.server.ServerMain.main(ServerMain.java:57)
[21:58:45.219] [main/INFO] [STDERR/]: [optifine.OptiFineTransformer:getOptiFineResourcePatched:403]: java.io.IOException: Base resource not found: agj.class
[21:58:45.219] [main/INFO] [STDERR/]: [optifine.OptiFineTransformer:getOptiFineResourcePatched:403]:    at optifine.Patcher.applyPatch(Patcher.java:146)
[21:58:45.220] [main/INFO] [STDERR/]: [optifine.OptiFineTransformer:getOptiFineResourcePatched:403]:    at optifine.OptiFineTransformer.getOptiFineResourcePatched(OptiFineTransformer.java:385)
[21:58:45.220] [main/INFO] [STDERR/]: [optifine.OptiFineTransformer:getOptiFineResourcePatched:403]:    at optifine.OptiFineTransformer.getOptiFineResourceStreamPatched(OptiFineTransformer.java:357)
[21:58:45.220] [main/INFO] [STDERR/]: [optifine.OptiFineTransformer:getOptiFineResourcePatched:403]:    at optifine.OptiFineTransformer.getOptiFineResourceStream(OptiFineTransformer.java:281)
[21:58:45.220] [main/INFO] [STDERR/]: [optifine.OptiFineTransformer:getOptiFineResourcePatched:403]:    at optifine.OptiFineTransformer.getOptiFineResource(OptiFineTransformer.java:250)
[21:58:45.220] [main/INFO] [STDERR/]: [optifine.OptiFineTransformer:getOptiFineResourcePatched:403]:    at optifine.OptiFineTransformer.transform(OptiFineTransformer.java:160)
[21:58:45.220] [main/INFO] [STDERR/]: [optifine.OptiFineTransformer:getOptiFineResourcePatched:403]:    at optifine.OptiFineTransformer.transform(OptiFineTransformer.java:1)
[21:58:45.220] [main/INFO] [STDERR/]: [optifine.OptiFineTransformer:getOptiFineResourcePatched:403]:    at cpw.mods.modlauncher.TransformerHolder.transform(TransformerHolder.java:41)
[21:58:45.220] [main/INFO] [STDERR/]: [optifine.OptiFineTransformer:getOptiFineResourcePatched:403]:    at cpw.mods.modlauncher.ClassTransformer.performVote(ClassTransformer.java:167)
[21:58:45.221] [main/INFO] [STDERR/]: [optifine.OptiFineTransformer:getOptiFineResourcePatched:403]:    at cpw.mods.modlauncher.ClassTransformer.transform(ClassTransformer.java:111)
[21:58:45.221] [main/INFO] [STDERR/]: [optifine.OptiFineTransformer:getOptiFineResourcePatched:403]:    at cpw.mods.modlauncher.TransformingClassLoader$DelegatedClassLoader.findClass(TransformingClassLoader.java:236)
[21:58:45.221] [main/INFO] [STDERR/]: [optifine.OptiFineTransformer:getOptiFineResourcePatched:403]:    at cpw.mods.modlauncher.TransformingClassLoader.loadClass(TransformingClassLoader.java:127)
[21:58:45.221] [main/INFO] [STDERR/]: [optifine.OptiFineTransformer:getOptiFineResourcePatched:403]:    at cpw.mods.modlauncher.TransformingClassLoader.loadClass(TransformingClassLoader.java:97)
[21:58:45.222] [main/INFO] [STDERR/]: [optifine.OptiFineTransformer:getOptiFineResourcePatched:403]:    at java.lang.ClassLoader.loadClass(Unknown Source)
[21:58:45.222] [main/INFO] [STDERR/]: [optifine.OptiFineTransformer:getOptiFineResourcePatched:403]:    at java.lang.Class.getDeclaredMethods0(Native Method)
[21:58:45.222] [main/INFO] [STDERR/]: [optifine.OptiFineTransformer:getOptiFineResourcePatched:403]:    at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
[21:58:45.223] [main/INFO] [STDERR/]: [optifine.OptiFineTransformer:getOptiFineResourcePatched:403]:    at java.lang.Class.privateGetMethodRecursive(Unknown Source)
[21:58:45.223] [main/INFO] [STDERR/]: [optifine.OptiFineTransformer:getOptiFineResourcePatched:403]:    at java.lang.Class.getMethod0(Unknown Source)
[21:58:45.223] [main/INFO] [STDERR/]: [optifine.OptiFineTransformer:getOptiFineResourcePatched:403]:    at java.lang.Class.getMethod(Unknown Source)
[21:58:45.223] [main/INFO] [STDERR/]: [optifine.OptiFineTransformer:getOptiFineResourcePatched:403]:    at net.minecraftforge.fml.loading.FMLServerLaunchProvider.lambda$launchService$0(FMLServerLaunchProvider.java:50)
[21:58:45.224] [main/INFO] [STDERR/]: [optifine.OptiFineTransformer:getOptiFineResourcePatched:403]:    at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37)
[21:58:45.224] [main/INFO] [STDERR/]: [optifine.OptiFineTransformer:getOptiFineResourcePatched:403]:    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:50)
[21:58:45.224] [main/INFO] [STDERR/]: [optifine.OptiFineTransformer:getOptiFineResourcePatched:403]:    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:68)
[21:58:45.225] [main/INFO] [STDERR/]: [optifine.OptiFineTransformer:getOptiFineResourcePatched:403]:    at cpw.mods.modlauncher.Launcher.run(Launcher.java:80)
[21:58:45.225] [main/INFO] [STDERR/]: [optifine.OptiFineTransformer:getOptiFineResourcePatched:403]:    at cpw.mods.modlauncher.Launcher.main(Launcher.java:65)
[21:58:45.225] [main/INFO] [STDERR/]: [optifine.OptiFineTransformer:getOptiFineResourcePatched:403]:    at net.minecraftforge.server.ServerMain$Runner.runLauncher(ServerMain.java:63)
[21:58:45.226] [main/INFO] [STDERR/]: [optifine.OptiFineTransformer:getOptiFineResourcePatched:403]:    at net.minecraftforge.server.ServerMain$Runner.access$100(ServerMain.java:60)
[21:58:45.226] [main/INFO] [STDERR/]: [optifine.OptiFineTransformer:getOptiFineResourcePatched:403]:    at net.minecraftforge.server.ServerMain.main(ServerMain.java:57)
[21:58:45.261] [main/FATAL] [minecraft/MinecraftServer]: Failed to start the minecraft server
joptsimple.UnrecognizedOptionException: 6 is not a recognized option
        at joptsimple.OptionException.unrecognizedOption(OptionException.java:108) ~[jopt-simple-5.0.4.jar:?] {}
        at joptsimple.OptionParser.validateOptionCharacters(OptionParser.java:633) ~[jopt-simple-5.0.4.jar:?] {}
        at joptsimple.OptionParser.handleShortOptionCluster(OptionParser.java:528) ~[jopt-simple-5.0.4.jar:?] {}
        at joptsimple.OptionParser.handleShortOptionToken(OptionParser.java:523) ~[jopt-simple-5.0.4.jar:?] {}
        at joptsimple.OptionParserState$2.handleArgument(OptionParserState.java:59) ~[jopt-simple-5.0.4.jar:?] {}
        at joptsimple.OptionParser.parse(OptionParser.java:396) ~[jopt-simple-5.0.4.jar:?] {}
        at net.minecraft.server.MinecraftServer.main(MinecraftServer.java:884) ~[?:?] {pl:accesstransformer:B,pl:runtimedistcleaner:A}
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_221] {}
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_221] {}
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_221] {}
        at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_221] {}
        at net.minecraftforge.fml.loading.FMLServerLaunchProvider.lambda$launchService$0(FMLServerLaunchProvider.java:50) ~[forgeserver.jar:28.0] {}
        at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-3.2.0.jar:?] {}
        at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:50) [modlauncher-3.2.0.jar:?] {}
        at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:68) [modlauncher-3.2.0.jar:?] {}
        at cpw.mods.modlauncher.Launcher.run(Launcher.java:80) [modlauncher-3.2.0.jar:?] {}
        at cpw.mods.modlauncher.Launcher.main(Launcher.java:65) [modlauncher-3.2.0.jar:?] {}
        at net.minecraftforge.server.ServerMain$Runner.runLauncher(ServerMain.java:63) [forgeserver.jar:?] {}
        at net.minecraftforge.server.ServerMain$Runner.access$100(ServerMain.java:60) [forgeserver.jar:?] {}
        at net.minecraftforge.server.ServerMain.main(ServerMain.java:57) [forgeserver.jar:?] {}

Posted

Are you trying to run a server with Optifine installed?

This is my Forum Signature, I am currently attempting to transform it into a small guide for fixing easier issues using spoiler blocks to keep things tidy.

 

As the most common issue I feel I should put this outside the main bulk:

The only official source for Forge is https://files.minecraftforge.net, and the only site I trust for getting mods is CurseForge.

If you use any site other than these, please take a look at the StopModReposts project and install their browser extension, I would also advise running a virus scan.

 

For players asking for assistance with Forge please expand the spoiler below and read the appropriate section(s) in its/their entirety.

Spoiler

Logs (Most issues require logs to diagnose):

Spoiler

Please post logs using one of the following sites (Thank you Lumber Wizard for the list):

https://gist.github.com/100MB Requires member (Free)

https://pastebin.com/: 512KB as guest, 10MB as Pro ($$$)

https://hastebin.com/: 400KB

Do NOT use sites like Mediafire, Dropbox, OneDrive, Google Drive, or a site that has a countdown before offering downloads.

 

What to provide:

...for Crashes and Runtime issues:

Minecraft 1.14.4 and newer:

Post debug.log

Older versions:

Please update...

 

...for Installer Issues:

Post your installer log, found in the same place you ran the installer

This log will be called either installer.log or named the same as the installer but with .log on the end

Note for Windows users:

Windows hides file extensions by default so the installer may appear without the .jar extension then when the .log is added the log will appear with the .jar extension

 

Where to get it:

Mojang Launcher: When using the Mojang launcher debug.log is found in .minecraft\logs.

 

Curse/Overwolf: If you are using the Curse Launcher, their configurations break Forge's log settings, fortunately there is an easier workaround than I originally thought, this works even with Curse's installation of the Minecraft launcher as long as it is not launched THROUGH Twitch:

Spoiler
  1. Make sure you have the correct version of Forge installed (some packs are heavily dependent on one specific build of Forge)
  2. Make a launcher profile targeting this version of Forge.
  3. Set the launcher profile's GameDir property to the pack's instance folder (not the instances folder, the folder that has the pack's name on it).
  4. Now launch the pack through that profile and follow the "Mojang Launcher" instructions above.

Video:

Spoiler

 

 

 

or alternately, 

 

Fallback ("No logs are generated"):

If you don't see logs generated in the usual place, provide the launcher_log.txt from .minecraft

 

Server Not Starting:

Spoiler

If your server does not start or a command window appears and immediately goes away, run the jar manually and provide the output.

 

Reporting Illegal/Inappropriate Adfocus Ads:

Spoiler

Get a screenshot of the URL bar or copy/paste the whole URL into a thread on the General Discussion board with a description of the Ad.

Lex will need the Ad ID contained in that URL to report it to Adfocus' support team.

 

Posting your mod as a GitHub Repo:

Spoiler

When you have an issue with your mod the most helpful thing you can do when asking for help is to provide your code to those helping you. The most convenient way to do this is via GitHub or another source control hub.

When setting up a GitHub Repo it might seem easy to just upload everything, however this method has the potential for mistakes that could lead to trouble later on, it is recommended to use a Git client or to get comfortable with the Git command line. The following instructions will use the Git Command Line and as such they assume you already have it installed and that you have created a repository.

 

  1. Open a command prompt (CMD, Powershell, Terminal, etc).
  2. Navigate to the folder you extracted Forge’s MDK to (the one that had all the licenses in).
  3. Run the following commands:
    1. git init
    2. git remote add origin [Your Repository's URL]
      • In the case of GitHub it should look like: https://GitHub.com/[Your Username]/[Repo Name].git
    3. git fetch
    4. git checkout --track origin/master
    5. git stage *
    6. git commit -m "[Your commit message]"
    7. git push
  4. Navigate to GitHub and you should now see most of the files.
    • note that it is intentional that some are not synced with GitHub and this is done with the (hidden) .gitignore file that Forge’s MDK has provided (hence the strictness on which folder git init is run from)
  5. Now you can share your GitHub link with those who you are asking for help.

[Workaround line, please ignore]

 

Posted
Just now, DaemonUmbra said:

Are you trying to run a server with Optifine installed?

Yes. Optifine works fine with the server. My only problem is that the .Bat doesn't work but the .jar does work. All I need is more ram to be added to my server

Posted

What is the content of your bat file anyway?

This is my Forum Signature, I am currently attempting to transform it into a small guide for fixing easier issues using spoiler blocks to keep things tidy.

 

As the most common issue I feel I should put this outside the main bulk:

The only official source for Forge is https://files.minecraftforge.net, and the only site I trust for getting mods is CurseForge.

If you use any site other than these, please take a look at the StopModReposts project and install their browser extension, I would also advise running a virus scan.

 

For players asking for assistance with Forge please expand the spoiler below and read the appropriate section(s) in its/their entirety.

Spoiler

Logs (Most issues require logs to diagnose):

Spoiler

Please post logs using one of the following sites (Thank you Lumber Wizard for the list):

https://gist.github.com/100MB Requires member (Free)

https://pastebin.com/: 512KB as guest, 10MB as Pro ($$$)

https://hastebin.com/: 400KB

Do NOT use sites like Mediafire, Dropbox, OneDrive, Google Drive, or a site that has a countdown before offering downloads.

 

What to provide:

...for Crashes and Runtime issues:

Minecraft 1.14.4 and newer:

Post debug.log

Older versions:

Please update...

 

...for Installer Issues:

Post your installer log, found in the same place you ran the installer

This log will be called either installer.log or named the same as the installer but with .log on the end

Note for Windows users:

Windows hides file extensions by default so the installer may appear without the .jar extension then when the .log is added the log will appear with the .jar extension

 

Where to get it:

Mojang Launcher: When using the Mojang launcher debug.log is found in .minecraft\logs.

 

Curse/Overwolf: If you are using the Curse Launcher, their configurations break Forge's log settings, fortunately there is an easier workaround than I originally thought, this works even with Curse's installation of the Minecraft launcher as long as it is not launched THROUGH Twitch:

Spoiler
  1. Make sure you have the correct version of Forge installed (some packs are heavily dependent on one specific build of Forge)
  2. Make a launcher profile targeting this version of Forge.
  3. Set the launcher profile's GameDir property to the pack's instance folder (not the instances folder, the folder that has the pack's name on it).
  4. Now launch the pack through that profile and follow the "Mojang Launcher" instructions above.

Video:

Spoiler

 

 

 

or alternately, 

 

Fallback ("No logs are generated"):

If you don't see logs generated in the usual place, provide the launcher_log.txt from .minecraft

 

Server Not Starting:

Spoiler

If your server does not start or a command window appears and immediately goes away, run the jar manually and provide the output.

 

Reporting Illegal/Inappropriate Adfocus Ads:

Spoiler

Get a screenshot of the URL bar or copy/paste the whole URL into a thread on the General Discussion board with a description of the Ad.

Lex will need the Ad ID contained in that URL to report it to Adfocus' support team.

 

Posting your mod as a GitHub Repo:

Spoiler

When you have an issue with your mod the most helpful thing you can do when asking for help is to provide your code to those helping you. The most convenient way to do this is via GitHub or another source control hub.

When setting up a GitHub Repo it might seem easy to just upload everything, however this method has the potential for mistakes that could lead to trouble later on, it is recommended to use a Git client or to get comfortable with the Git command line. The following instructions will use the Git Command Line and as such they assume you already have it installed and that you have created a repository.

 

  1. Open a command prompt (CMD, Powershell, Terminal, etc).
  2. Navigate to the folder you extracted Forge’s MDK to (the one that had all the licenses in).
  3. Run the following commands:
    1. git init
    2. git remote add origin [Your Repository's URL]
      • In the case of GitHub it should look like: https://GitHub.com/[Your Username]/[Repo Name].git
    3. git fetch
    4. git checkout --track origin/master
    5. git stage *
    6. git commit -m "[Your commit message]"
    7. git push
  4. Navigate to GitHub and you should now see most of the files.
    • note that it is intentional that some are not synced with GitHub and this is done with the (hidden) .gitignore file that Forge’s MDK has provided (hence the strictness on which folder git init is run from)
  5. Now you can share your GitHub link with those who you are asking for help.

[Workaround line, please ignore]

 

Posted

Where are you getting those options from?

This is my Forum Signature, I am currently attempting to transform it into a small guide for fixing easier issues using spoiler blocks to keep things tidy.

 

As the most common issue I feel I should put this outside the main bulk:

The only official source for Forge is https://files.minecraftforge.net, and the only site I trust for getting mods is CurseForge.

If you use any site other than these, please take a look at the StopModReposts project and install their browser extension, I would also advise running a virus scan.

 

For players asking for assistance with Forge please expand the spoiler below and read the appropriate section(s) in its/their entirety.

Spoiler

Logs (Most issues require logs to diagnose):

Spoiler

Please post logs using one of the following sites (Thank you Lumber Wizard for the list):

https://gist.github.com/100MB Requires member (Free)

https://pastebin.com/: 512KB as guest, 10MB as Pro ($$$)

https://hastebin.com/: 400KB

Do NOT use sites like Mediafire, Dropbox, OneDrive, Google Drive, or a site that has a countdown before offering downloads.

 

What to provide:

...for Crashes and Runtime issues:

Minecraft 1.14.4 and newer:

Post debug.log

Older versions:

Please update...

 

...for Installer Issues:

Post your installer log, found in the same place you ran the installer

This log will be called either installer.log or named the same as the installer but with .log on the end

Note for Windows users:

Windows hides file extensions by default so the installer may appear without the .jar extension then when the .log is added the log will appear with the .jar extension

 

Where to get it:

Mojang Launcher: When using the Mojang launcher debug.log is found in .minecraft\logs.

 

Curse/Overwolf: If you are using the Curse Launcher, their configurations break Forge's log settings, fortunately there is an easier workaround than I originally thought, this works even with Curse's installation of the Minecraft launcher as long as it is not launched THROUGH Twitch:

Spoiler
  1. Make sure you have the correct version of Forge installed (some packs are heavily dependent on one specific build of Forge)
  2. Make a launcher profile targeting this version of Forge.
  3. Set the launcher profile's GameDir property to the pack's instance folder (not the instances folder, the folder that has the pack's name on it).
  4. Now launch the pack through that profile and follow the "Mojang Launcher" instructions above.

Video:

Spoiler

 

 

 

or alternately, 

 

Fallback ("No logs are generated"):

If you don't see logs generated in the usual place, provide the launcher_log.txt from .minecraft

 

Server Not Starting:

Spoiler

If your server does not start or a command window appears and immediately goes away, run the jar manually and provide the output.

 

Reporting Illegal/Inappropriate Adfocus Ads:

Spoiler

Get a screenshot of the URL bar or copy/paste the whole URL into a thread on the General Discussion board with a description of the Ad.

Lex will need the Ad ID contained in that URL to report it to Adfocus' support team.

 

Posting your mod as a GitHub Repo:

Spoiler

When you have an issue with your mod the most helpful thing you can do when asking for help is to provide your code to those helping you. The most convenient way to do this is via GitHub or another source control hub.

When setting up a GitHub Repo it might seem easy to just upload everything, however this method has the potential for mistakes that could lead to trouble later on, it is recommended to use a Git client or to get comfortable with the Git command line. The following instructions will use the Git Command Line and as such they assume you already have it installed and that you have created a repository.

 

  1. Open a command prompt (CMD, Powershell, Terminal, etc).
  2. Navigate to the folder you extracted Forge’s MDK to (the one that had all the licenses in).
  3. Run the following commands:
    1. git init
    2. git remote add origin [Your Repository's URL]
      • In the case of GitHub it should look like: https://GitHub.com/[Your Username]/[Repo Name].git
    3. git fetch
    4. git checkout --track origin/master
    5. git stage *
    6. git commit -m "[Your commit message]"
    7. git push
  4. Navigate to GitHub and you should now see most of the files.
    • note that it is intentional that some are not synced with GitHub and this is done with the (hidden) .gitignore file that Forge’s MDK has provided (hence the strictness on which folder git init is run from)
  5. Now you can share your GitHub link with those who you are asking for help.

[Workaround line, please ignore]

 

Posted

I hate these tutorials.

Regardless, I don't see him telling you to add -d64 or -o true

This is my Forum Signature, I am currently attempting to transform it into a small guide for fixing easier issues using spoiler blocks to keep things tidy.

 

As the most common issue I feel I should put this outside the main bulk:

The only official source for Forge is https://files.minecraftforge.net, and the only site I trust for getting mods is CurseForge.

If you use any site other than these, please take a look at the StopModReposts project and install their browser extension, I would also advise running a virus scan.

 

For players asking for assistance with Forge please expand the spoiler below and read the appropriate section(s) in its/their entirety.

Spoiler

Logs (Most issues require logs to diagnose):

Spoiler

Please post logs using one of the following sites (Thank you Lumber Wizard for the list):

https://gist.github.com/100MB Requires member (Free)

https://pastebin.com/: 512KB as guest, 10MB as Pro ($$$)

https://hastebin.com/: 400KB

Do NOT use sites like Mediafire, Dropbox, OneDrive, Google Drive, or a site that has a countdown before offering downloads.

 

What to provide:

...for Crashes and Runtime issues:

Minecraft 1.14.4 and newer:

Post debug.log

Older versions:

Please update...

 

...for Installer Issues:

Post your installer log, found in the same place you ran the installer

This log will be called either installer.log or named the same as the installer but with .log on the end

Note for Windows users:

Windows hides file extensions by default so the installer may appear without the .jar extension then when the .log is added the log will appear with the .jar extension

 

Where to get it:

Mojang Launcher: When using the Mojang launcher debug.log is found in .minecraft\logs.

 

Curse/Overwolf: If you are using the Curse Launcher, their configurations break Forge's log settings, fortunately there is an easier workaround than I originally thought, this works even with Curse's installation of the Minecraft launcher as long as it is not launched THROUGH Twitch:

Spoiler
  1. Make sure you have the correct version of Forge installed (some packs are heavily dependent on one specific build of Forge)
  2. Make a launcher profile targeting this version of Forge.
  3. Set the launcher profile's GameDir property to the pack's instance folder (not the instances folder, the folder that has the pack's name on it).
  4. Now launch the pack through that profile and follow the "Mojang Launcher" instructions above.

Video:

Spoiler

 

 

 

or alternately, 

 

Fallback ("No logs are generated"):

If you don't see logs generated in the usual place, provide the launcher_log.txt from .minecraft

 

Server Not Starting:

Spoiler

If your server does not start or a command window appears and immediately goes away, run the jar manually and provide the output.

 

Reporting Illegal/Inappropriate Adfocus Ads:

Spoiler

Get a screenshot of the URL bar or copy/paste the whole URL into a thread on the General Discussion board with a description of the Ad.

Lex will need the Ad ID contained in that URL to report it to Adfocus' support team.

 

Posting your mod as a GitHub Repo:

Spoiler

When you have an issue with your mod the most helpful thing you can do when asking for help is to provide your code to those helping you. The most convenient way to do this is via GitHub or another source control hub.

When setting up a GitHub Repo it might seem easy to just upload everything, however this method has the potential for mistakes that could lead to trouble later on, it is recommended to use a Git client or to get comfortable with the Git command line. The following instructions will use the Git Command Line and as such they assume you already have it installed and that you have created a repository.

 

  1. Open a command prompt (CMD, Powershell, Terminal, etc).
  2. Navigate to the folder you extracted Forge’s MDK to (the one that had all the licenses in).
  3. Run the following commands:
    1. git init
    2. git remote add origin [Your Repository's URL]
      • In the case of GitHub it should look like: https://GitHub.com/[Your Username]/[Repo Name].git
    3. git fetch
    4. git checkout --track origin/master
    5. git stage *
    6. git commit -m "[Your commit message]"
    7. git push
  4. Navigate to GitHub and you should now see most of the files.
    • note that it is intentional that some are not synced with GitHub and this is done with the (hidden) .gitignore file that Forge’s MDK has provided (hence the strictness on which folder git init is run from)
  5. Now you can share your GitHub link with those who you are asking for help.

[Workaround line, please ignore]

 

Posted
9 minutes ago, DaemonUmbra said:

I hate these tutorials.

Regardless, I don't see him telling you to add -d64 or -o true

Ok so i removed the -d64 and true, after that I opened up the .Bat and the .Jar opened up alongside the .Bat. Is that supposed to happen?

Posted

You mean the server GUI opened? Well you didn't specify nogui so it opened the GUI.

This is my Forum Signature, I am currently attempting to transform it into a small guide for fixing easier issues using spoiler blocks to keep things tidy.

 

As the most common issue I feel I should put this outside the main bulk:

The only official source for Forge is https://files.minecraftforge.net, and the only site I trust for getting mods is CurseForge.

If you use any site other than these, please take a look at the StopModReposts project and install their browser extension, I would also advise running a virus scan.

 

For players asking for assistance with Forge please expand the spoiler below and read the appropriate section(s) in its/their entirety.

Spoiler

Logs (Most issues require logs to diagnose):

Spoiler

Please post logs using one of the following sites (Thank you Lumber Wizard for the list):

https://gist.github.com/100MB Requires member (Free)

https://pastebin.com/: 512KB as guest, 10MB as Pro ($$$)

https://hastebin.com/: 400KB

Do NOT use sites like Mediafire, Dropbox, OneDrive, Google Drive, or a site that has a countdown before offering downloads.

 

What to provide:

...for Crashes and Runtime issues:

Minecraft 1.14.4 and newer:

Post debug.log

Older versions:

Please update...

 

...for Installer Issues:

Post your installer log, found in the same place you ran the installer

This log will be called either installer.log or named the same as the installer but with .log on the end

Note for Windows users:

Windows hides file extensions by default so the installer may appear without the .jar extension then when the .log is added the log will appear with the .jar extension

 

Where to get it:

Mojang Launcher: When using the Mojang launcher debug.log is found in .minecraft\logs.

 

Curse/Overwolf: If you are using the Curse Launcher, their configurations break Forge's log settings, fortunately there is an easier workaround than I originally thought, this works even with Curse's installation of the Minecraft launcher as long as it is not launched THROUGH Twitch:

Spoiler
  1. Make sure you have the correct version of Forge installed (some packs are heavily dependent on one specific build of Forge)
  2. Make a launcher profile targeting this version of Forge.
  3. Set the launcher profile's GameDir property to the pack's instance folder (not the instances folder, the folder that has the pack's name on it).
  4. Now launch the pack through that profile and follow the "Mojang Launcher" instructions above.

Video:

Spoiler

 

 

 

or alternately, 

 

Fallback ("No logs are generated"):

If you don't see logs generated in the usual place, provide the launcher_log.txt from .minecraft

 

Server Not Starting:

Spoiler

If your server does not start or a command window appears and immediately goes away, run the jar manually and provide the output.

 

Reporting Illegal/Inappropriate Adfocus Ads:

Spoiler

Get a screenshot of the URL bar or copy/paste the whole URL into a thread on the General Discussion board with a description of the Ad.

Lex will need the Ad ID contained in that URL to report it to Adfocus' support team.

 

Posting your mod as a GitHub Repo:

Spoiler

When you have an issue with your mod the most helpful thing you can do when asking for help is to provide your code to those helping you. The most convenient way to do this is via GitHub or another source control hub.

When setting up a GitHub Repo it might seem easy to just upload everything, however this method has the potential for mistakes that could lead to trouble later on, it is recommended to use a Git client or to get comfortable with the Git command line. The following instructions will use the Git Command Line and as such they assume you already have it installed and that you have created a repository.

 

  1. Open a command prompt (CMD, Powershell, Terminal, etc).
  2. Navigate to the folder you extracted Forge’s MDK to (the one that had all the licenses in).
  3. Run the following commands:
    1. git init
    2. git remote add origin [Your Repository's URL]
      • In the case of GitHub it should look like: https://GitHub.com/[Your Username]/[Repo Name].git
    3. git fetch
    4. git checkout --track origin/master
    5. git stage *
    6. git commit -m "[Your commit message]"
    7. git push
  4. Navigate to GitHub and you should now see most of the files.
    • note that it is intentional that some are not synced with GitHub and this is done with the (hidden) .gitignore file that Forge’s MDK has provided (hence the strictness on which folder git init is run from)
  5. Now you can share your GitHub link with those who you are asking for help.

[Workaround line, please ignore]

 

Posted
2 minutes ago, DaemonUmbra said:

You mean the server GUI opened? Well you didn't specify nogui so it opened the GUI.

Well, that doesn't really matter to me. It looks like the server is running perfectly, thank you so much for the help :)

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

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