Jump to content

Recommended Posts

Posted

You're starting it with the forge jar and not the minecraft jar, right?

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.

  Reveal hidden contents

 

Posted

 

  On 5/31/2018 at 11:46 PM, DaemonUmbra said:

You're starting it with the forge jar and not the minecraft jar, right?

Expand  

is there a way to start with the forge jar the one that i installed created the minecraft server jar after running so i only have jars labled

forge-1.12.2-14.23.4.2705-universal

minecraft-server 1.12.2

 

Posted

You start the forge universal the same way you would start the server

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.

  Reveal hidden contents

 

Posted

Start it from the command line and show what it spits out

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.

  Reveal hidden contents

 

Posted (edited)

When I say command prompt I mean if you're on Windows use cmd(or Powershell), if you're on a *nix OS or Mac, use a Terminal, navigate to the server's folder and type

java -jar forge-1.12.2-14.23.4.2705-universal.jar -Xmx3G -Xms3G nogui

 

Edited by DaemonUmbra

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.

  Reveal hidden contents

 

Posted
  On 6/1/2018 at 12:05 AM, DaemonUmbra said:

When I say command prompt I mean if you're on Windows use cmd(or Powershell), if you're on a *nix OS or Mac, use a Terminal, navigate to the server's folder and type "java -jar forge-1.12.2-14.23.4.2705-universal.jar -Xmx3G -Xms3G nogui"

Expand  

how would i do that sorry im new at this and google doesnt help i know how to get to cmd but i have no idea how to open it from there

Posted (edited)

Ok, I'm not in the mood for a cmd tutorial so let's take a shortcut:

open the server folder in file explorer

click anywhere that won't select a file

hold shift and right click without selecting a file

click open <Command Prompt/Powershell Window> here

 

once you've done that follow the instructions from my previous reply

  On 6/1/2018 at 12:05 AM, DaemonUmbra said:

type

java -jar forge-1.12.2-14.23.4.2705-universal.jar -Xmx3G -Xms3G nogui
Expand  

 

Edited by DaemonUmbra

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.

  Reveal hidden contents

 

Posted
  On 6/1/2018 at 12:15 AM, DaemonUmbra said:

Ok, I'm not in the mood for a cmd tutorial so let's take a shortcut:

open the server folder in file explorer

click anywhere that won't select a file

hold shift and right click without selecting a file

click open <Command Prompt/Powershell Window> here

 

once you've done that follow the instructions from my previous reply

 

Expand  

Im sorry if this is annoying thanks for sticking around and helping

 

here is what it says 

 

A problem occurred running the Server launcher.java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.run(ServerLaunchWrapper.java:62)
        at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.main(ServerLaunchWrapper.java:31)
Caused by: java.lang.NoClassDefFoundError: org/apache/logging/log4j/Level
        at net.minecraft.launchwrapper.Launch.launch(Launch.java:94)
        at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
        ... 6 more
Caused by: java.lang.ClassNotFoundException: org.apache.logging.log4j.Level
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        ... 8 more

Posted (edited)

Saw this same error with someone else the minecraft server jar was getting corrupted when Forge's installer downloaded it, try this:

  On 5/28/2018 at 7:25 PM, DaemonUmbra said:

Try getting the server from Mojang's official site and replace yours with that one Note: Link will start the download from Mojang's servers and you will need to rename it to match what forge is expecting.

Expand  

Forge is expecting minecraft_server.1.12.2.jar

Edited by DaemonUmbra

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.

  Reveal hidden contents

 

Posted
  On 6/1/2018 at 12:25 AM, DaemonUmbra said:

Saw this same error with someone else the minecraft server jar was getting corrupted when Forge's installer downloaded it, try this:

Forge is expecting minecraft_server.1.12.2.jar

Expand  

alright i did that and i checked if the mods would work but to no avail

Posted

Are you getting the same error when you try to launch it?

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.

  Reveal hidden contents

 

Posted
  On 6/1/2018 at 12:35 AM, DaemonUmbra said:

Are you getting the same error when you try to launch it?

Expand  

well i think

 

>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>         at java.lang.reflect.Method.invoke(Unknown Source)
>>         at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.run(ServerLaunchWrapper.java:62)
>>         at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.main(ServerLaunchWrapper.java:31)
>> Caused by: java.lang.NoClassDefFoundError: org/apache/logging/log4j/Level
>>         at net.minecraft.launchwrapper.Launch.launch(Launch.java:94)
>>         at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
>>         ... 6 more
>> Caused by: java.lang.ClassNotFoundException: org.apache.logging.log4j.Level
>>         at java.net.URLClassLoader.findClass(Unknown Source)
>>         at java.lang.ClassLoader.loadClass(Unknown Source)
>>         at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
>>         at java.lang.ClassLoader.loadClass(Unknown Source)
>>         ... 8 more
A : The term 'A' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the
spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ A problem occurred running the Server launcher.java.lang.reflect.Invo ...
+ ~
    + CategoryInfo          : ObjectNotFound: (A:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

Native : The term 'Native' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:2 char:57
+ ...        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
+                                                            ~~~~~~
    + CategoryInfo          : ObjectNotFound: (Native:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

Unknown : The term 'Unknown' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:3 char:56
+ ...        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
+                                                           ~~~~~~~
    + CategoryInfo          : ObjectNotFound: (Unknown:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

Unknown : The term 'Unknown' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:4 char:60
+ ...    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
+                                                           ~~~~~~~
    + CategoryInfo          : ObjectNotFound: (Unknown:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

Unknown : The term 'Unknown' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:5 char:44
+         at java.lang.reflect.Method.invoke(Unknown Source)
+                                            ~~~~~~~
    + CategoryInfo          : ObjectNotFound: (Unknown:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

ServerLaunchWrapper.java:62 : The term 'ServerLaunchWrapper.java:62' is not recognized as the name of a cmdlet,
function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the
path is correct and try again.
At line:6 char:70
+ ... e.fml.relauncher.ServerLaunchWrapper.run(ServerLaunchWrapper.java:62)
+                                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (ServerLaunchWrapper.java:62:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

ServerLaunchWrapper.java:31 : The term 'ServerLaunchWrapper.java:31' is not recognized as the name of a cmdlet,
function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the
path is correct and try again.
At line:7 char:71
+ ... .fml.relauncher.ServerLaunchWrapper.main(ServerLaunchWrapper.java:31)
+                                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (ServerLaunchWrapper.java:31:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

Caused : The term 'Caused' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:8 char:1
+ Caused by: java.lang.NoClassDefFoundError: org/apache/logging/log4j/L ...
+ ~~~~~~
    + CategoryInfo          : ObjectNotFound: (Caused:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

Launch.java:94 : The term 'Launch.java:94' is not recognized as the name of a cmdlet, function, script file, or
operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try
again.
At line:9 char:54
+         at net.minecraft.launchwrapper.Launch.launch(Launch.java:94)
+                                                      ~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (Launch.java:94:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

Launch.java:28 : The term 'Launch.java:28' is not recognized as the name of a cmdlet, function, script file, or
operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try
again.
At line:10 char:52
+         at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
+                                                    ~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (Launch.java:28:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

... : The term '...' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the
spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:11 char:9
+         ... 6 more
+         ~~~
    + CategoryInfo          : ObjectNotFound: (...:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

Caused : The term 'Caused' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:12 char:1
+ Caused by: java.lang.ClassNotFoundException: org.apache.logging.log4j ...
+ ~~~~~~
    + CategoryInfo          : ObjectNotFound: (Caused:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

Unknown : The term 'Unknown' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:13 char:46
+         at java.net.URLClassLoader.findClass(Unknown Source)
+                                              ~~~~~~~
    + CategoryInfo          : ObjectNotFound: (Unknown:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

Unknown : The term 'Unknown' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:14 char:44
+         at java.lang.ClassLoader.loadClass(Unknown Source)
+                                            ~~~~~~~
    + CategoryInfo          : ObjectNotFound: (Unknown:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

Unknown : The term 'Unknown' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:15 char:55
+         at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
+                                                       ~~~~~~~
    + CategoryInfo          : ObjectNotFound: (Unknown:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

Unknown : The term 'Unknown' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:16 char:44
+         at java.lang.ClassLoader.loadClass(Unknown Source)
+                                            ~~~~~~~
    + CategoryInfo          : ObjectNotFound: (Unknown:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

... : The term '...' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the
spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:17 char:9
+         ... 8 more
+         ~~~
    + CategoryInfo          : ObjectNotFound: (...:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException
 

Posted

log4j is a code library embedded in Minecraft, can you still not post a screenshot of the folder your server is in?

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.

  Reveal hidden contents

 

Posted
  On 6/1/2018 at 12:43 AM, DaemonUmbra said:

log4j is a code library embedded in Minecraft, can you still not post a screenshot of the folder your server is in?

Expand  

from what ive tried no it wont even save to the usual place ever since ive updated to windows 10

Posted

If you use snipping tool you can take the shot, copy, and paste it in here

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.

  Reveal hidden contents

 

Posted

Can you take another shot that includes the filesize? it's in one of the columns being squashed into the scrollbar

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.

  Reveal hidden contents

 

Posted

Can you take that shot again but first click on View and check the box next to "File Name Extensions"

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.

  Reveal hidden contents

 

Posted

There's your issue, because you had file extensions hidden you added a .jar to the minecraft server's name then your computer tacked another one on... now that you have them showing you can remove one of them and your computer won't tack on another

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.

  Reveal hidden contents

 

Posted
  On 6/1/2018 at 1:06 AM, DaemonUmbra said:

There's your issue, because you had file extensions hidden you added a .jar to the minecraft server's name then your computer tacked another one on... now that you have them showing you can remove one of them and your computer won't tack on another

Expand  

ive been trying for 4 days and all i had to do was to rename my file 

 

thanks man it finally works 

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



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • Betafort Recovery has emerged as a prominent figure in the realm of cryptocurrency recovery, gaining a reputation for their exceptional ability to retrieve lost Bitcoin (BTC) and other cryptocurrencies. Their expertise and track record have made them a beacon of hope for individuals facing the distressing situation of lost or inaccessible crypto assets.  
    • When you name a method like that, with no return value, it is a constructor. The constructor must have the same name as the class it constructs, in this case, ModItems. I would strongly advise reading up on some basic Java tutorials, because you will definitely be running into a lot more issues as you go along without the basics. *I should also add that the Forge documentation is a reference, not a tutorial. Even following tutorials, you should know Java basics, otherwise the smallest of mistakes will trip you up as you copy someone elses code.
    • so, I'm starting modding and I'm following the official documantation for forge: https://docs.minecraftforge.net, but in the registries part it is not working as it is in the docs:   public class ModItems { private static final DeferredRegister<Item> ITEMS = DeferredRegister.create(ForgeRegistries.ITEMS, DarkStarvation.MOD_ID); public static final RegistryObject<Item> TEST_ITEM = ITEMS.register("test_item", () -> new Item(new Item.Properties())); public DarkStarvation(FMLJavaModLoadingContext context) { ITEMS.register(context.getModEventBus()); } } in 'public DarkStarvation(...' the DarkStarvation has this error: Invalid method declaration; return type required and the getModEventBus(): Cannot resolve method 'getModEventBus' in 'FMLJavaModLoadingContext' please help, I asked gpt but it is saying that I'm using an old method, but I'm following the latest version of Forge Docs???
    • I merged your second post with the original , there is no need to post a new thread asking for an answer. If someone sees your post and can help, they will reply. If you are seeking a quicker response, you could try asking in the Minecraft Forge diacord.
    • Create a new instance and start with cobblemon - if this works, add the rest of your mods in groups   Maybe another mod is conflicting - like Sodium/Iris or Radical Cobblemon Trainers
  • Topics

×
×
  • Create New...

Important Information

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