Jump to content

Recommended Posts

Posted

Hello All,

I'm running my own Minecraft server. I installed forge-1.7.2-10.12.0.976 using the jar installer however when I now click on forge-1.7.2-10.12.0.976-universal.jar it does not open. Did I do something wrong?

 

I guess I should say the server I'm running on is a computer I have here at my home. It's running Windows 7 64 bit. Not sure what else I can say to help get an answer. Just let me know if you have further questions.

Posted

Log is empty. I cleared the log and tried running the jar file and the log file remained blank. Now I'm running the file in the path C:\minecraft server\1.7.2. The log I looked at was latest.log in the logs folder. and I don't see a forge log file unless it is not stored in the C:\minecraft server folder.

Posted

OK, did that and looks like I'm missing libraries to run forge?

 

 

  Reveal hidden contents

 

Posted

Make sure that the minecraft server jar is named: 'minecraft_server.1.7.2.jar' exactly in the same folder as Forge's jar.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Posted

Yes it is. I even tried renaming my 1.7.2 folder, recreatign it, redownloading 1.7.2 jar from https://s3.amazonaws.com/Minecraft.Download/versions/1.7.2/minecraft_server.1.7.2.jar and then downloading the newest release of forge and copying that jar to the 1.7.2 folder. The minecraft_server.1.7.2.jar runs no problem and I can log in to it from my client side computer. However Forge is still not launching.

Posted

Same error, the only log file produced is the "latest.log" from the vanilla server.  I can't get IE or Chrome to upload it here for some reason so I'll paste its' contents at the bottom.

 

What I ran:

 

 

  Reveal hidden contents

 

 

Folder contents:

 

  Reveal hidden contents

 

I've tried 9.76, 9.81 and 9.82: same error.  I've used the jar installer and the Win installer.  I've been pointing the installers at empty folders and letting the installer download the server jar as well as the forge jar.  My server is Windows 2012 SP1 running Java 7 r45 w/ 32 and 64 bit variants installed.  I run the minecraft server once before running forge.  The server runs fine and my client can connect to it.  When I run the forge jar using the java command shown above I get the output above.  I've been running Forge servers for about a year-ish now.  (since about 1.32-ish of MC)

 

Thanks for your attention!

 

 

Latest.log contents:

 

  Reveal hidden contents

 

Posted

https://github.com/MinecraftForge/ForgeGradle/commit/76e15702b3e5554c78431f6bd3ef1237d96b9abf#diff-f41c2684049bbd8087a600e914f92586R293

Apparently, it was broken for the first few builds.

Just run with java -cp minecraft_server.1.7.2.jar -jar {forgejar}

That'll work untill the next build which will have the fixed path.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Posted
  On 1/2/2014 at 6:19 AM, LexManos said:

https://github.com/MinecraftForge/ForgeGradle/commit/76e15702b3e5554c78431f6bd3ef1237d96b9abf#diff-f41c2684049bbd8087a600e914f92586R293

Apparently, it was broken for the first few builds.

Just run with java -cp minecraft_server.1.7.2.jar -jar {forgejar}

That'll work untill the next build which will have the fixed path.

 

Ran it fleshed out with what I think you intended to be filled in and got the same output:

 

PS C:\Users\minecraft\AppData\Roaming\Minecrafts\1.7.2 Forge\.minecraft> java -Xmx1G -Xms1G -cp .\minecraft_server.1.7.2.jar -jar .\forge-1.7.2-10.12.0.976-universal.jar nogui
Exception in thread "main" java.lang.NoClassDefFoundError: joptsimple/OptionSpec
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Unknown Source)
        at cpw.mods.fml.relauncher.ServerLaunchWrapper.run(ServerLaunchWrapper.java:25)
        at cpw.mods.fml.relauncher.ServerLaunchWrapper.main(ServerLaunchWrapper.java:12)
Caused by: java.lang.ClassNotFoundException: joptsimple.OptionSpec
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        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)
        ... 4 more
PS C:\Users\minecraft\AppData\Roaming\Minecrafts\1.7.2 Forge\.minecraft>

 

There are no new logs under "/logs" and no Forge output.

Posted

Getting the same thing with Forge 982.

 

Noted when I ran the vanilla 1.7.2 server (which spawned fine), I waited for the server to completely generate the world and idle..  I typed "stop" to shut it down cleanly and allow me to run Forge and I was greeted with this shut down "appender" error:  (look at the end of the boot log pasted below)

 

PS C:\Users\minecraft\AppData\Roaming\Minecrafts\1.7.2 Forge\.minecraft> java -jar .\minecraft_server.1.7.2.jar nogui
[17:48:51] [server thread/INFO]: Starting minecraft server version 1.7.2
[17:48:51] [server thread/INFO]: Loading properties
[17:48:51] [server thread/INFO]: Default game type: SURVIVAL
[17:48:51] [server thread/INFO]: Generating keypair
[17:48:51] [server thread/INFO]: Starting Minecraft server on *:25566
[17:48:52] [server thread/WARN]: Failed to load operators list: java.io.FileNotFoundException: .\ops.txt (The system ca
not find the file specified)
[17:48:52] [server thread/WARN]: Failed to load white-list: java.io.FileNotFoundException: .\white-list.txt (The system
cannot find the file specified)
[17:48:52] [server thread/INFO]: Preparing level "world"
[17:48:53] [server thread/INFO]: Preparing start region for level 0
[17:48:54] [server thread/INFO]: Preparing spawn area: 2%
[17:48:55] [server thread/INFO]: Preparing spawn area: 5%
[17:48:56] [server thread/INFO]: Preparing spawn area: 6%
[17:48:57] [server thread/INFO]: Preparing spawn area: 10%
[17:48:58] [server thread/INFO]: Preparing spawn area: 13%
[17:48:59] [server thread/INFO]: Preparing spawn area: 16%
[17:49:00] [server thread/INFO]: Preparing spawn area: 20%
[17:49:01] [server thread/INFO]: Preparing spawn area: 22%
[17:49:02] [server thread/INFO]: Preparing spawn area: 26%
[17:49:03] [server thread/INFO]: Preparing spawn area: 30%
[17:49:04] [server thread/INFO]: Preparing spawn area: 35%
[17:49:05] [server thread/INFO]: Preparing spawn area: 43%
[17:49:06] [server thread/INFO]: Preparing spawn area: 47%
[17:49:07] [server thread/INFO]: Preparing spawn area: 53%
[17:49:09] [server thread/INFO]: Preparing spawn area: 58%
[17:49:10] [server thread/INFO]: Preparing spawn area: 64%
[17:49:11] [server thread/INFO]: Preparing spawn area: 67%
[17:49:12] [server thread/INFO]: Preparing spawn area: 73%
[17:49:13] [server thread/INFO]: Preparing spawn area: 74%
[17:49:15] [server thread/INFO]: Preparing spawn area: 77%
[17:49:16] [server thread/INFO]: Preparing spawn area: 82%
[17:49:18] [server thread/INFO]: Preparing spawn area: 83%
[17:49:19] [server thread/INFO]: Preparing spawn area: 87%
[17:49:20] [server thread/INFO]: Preparing spawn area: 92%
[17:49:21] [server thread/INFO]: Preparing spawn area: 97%
[17:49:21] [server thread/INFO]: Done (29.532s)! For help, type "help" or "?"
list
[17:49:28] [server thread/INFO]: There are 0/20 players online:
[17:49:28] [server thread/INFO]:
stop
[17:49:30] [server thread/INFO]: Stopping the server
[17:49:30] [server thread/INFO]: Stopping server
[17:49:30] [server thread/INFO]: Saving players
[17:49:30] [server thread/INFO]: Saving worlds
[17:49:30] [server thread/INFO]: Saving chunks for level 'world'/Overworld
[17:49:31] [server thread/INFO]: Saving chunks for level 'world'/Nether
[17:49:31] [server thread/INFO]: Saving chunks for level 'world'/The End
[17:49:34] [server Shutdown Thread/INFO]: Stopping server
2014-01-02 17:49:34,236 ERROR Attempted to append to non-started appender ServerGuiConsole
Exception in thread "Server Shutdown Thread" org.apache.logging.log4j.core.appender.AppenderLoggingException: Attempted
to append to non-started appender ServerGuiConsole
        at org.apache.logging.log4j.core.config.AppenderControl.callAppender(AppenderControl.java:89)
        at org.apache.logging.log4j.core.config.LoggerConfig.callAppenders(LoggerConfig.java:425)
        at org.apache.logging.log4j.core.config.LoggerConfig.log(LoggerConfig.java:406)
        at org.apache.logging.log4j.core.config.LoggerConfig.log(LoggerConfig.java:367)
        at org.apache.logging.log4j.core.Logger.log(Logger.java:110)
        at org.apache.logging.log4j.spi.AbstractLogger.info(AbstractLogger.java:1011)
        at net.minecraft.server.MinecraftServer.n(SourceFile:287)

 

Posted

Seems to still be an issue with 10.12.0.985

 

 

  Reveal hidden contents

 

 

Tried with -cp minecraft_server.1.7.2.jar, with same result.

 

The same happens in windows and linux...

 

Client is working fine..

Posted

I updated to forge 1.7.2.10.12.0.991 and still not successful launching minecraft server with forge. Error that comes up when I run the bat file I created is:

 

  Reveal hidden contents

 

 

Bat file simple does the following:

 

  Reveal hidden contents

 

 

And I can run the server using the above bat file but pointing to minecraft_server.1.7.2.jar just fine

Posted

Fucking son of a bitch abrar broke it again -.-

Either way the problem is this:

minecraft_server.1.7.2.jar is not in the class path

The solution:

Add minecraft_server.1.7.2.jar to the class path.

If you can't do that you shouldn't be hosting servers.

 

If you can't figure that out, then just rename 'minecraft_server.1.7.2.jar' to 'minecraft_server.1.7.2' Abrar deleted the '.jar' when he moved my code, it's been fixed but something fubared it again.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Posted
  On 1/4/2014 at 11:31 PM, LexManos said:

Fucking son of a bitch abrar broke it again -.-

Either way the problem is this:

minecraft_server.1.7.2.jar is not in the class path

The solution:

Add minecraft_server.1.7.2.jar to the class path.

If you can't do that you shouldn't be hosting servers.

 

If you can't figure that out, then just rename 'minecraft_server.1.7.2.jar' to 'minecraft_server.1.7.2' Abrar deleted the '.jar' when he moved my code, it's been fixed but something fubared it again.

 

From the same directory the server and forge jars are in:  (they should default to current folder for classpath even if it's not supplied)

 

PS C:\Users\minecraft\AppData\Roaming\Minecrafts\1.7.2 Forge\.minecraft> java -Xmx1G -Xms1G -classpath 'C:\Users\minecraft\AppData\Roaming\Minecrafts\1.7.2 Forge\.minecraft\minecraft_server.1.7.2.jar' -jar .\forge-1.7.2-10.12.0.993-universal.jar nogui
Exception in thread "main" java.lang.NoClassDefFoundError: joptsimple/OptionSpec
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Unknown Source)
        at cpw.mods.fml.relauncher.ServerLaunchWrapper.run(ServerLaunchWrapper.java:25)
        at cpw.mods.fml.relauncher.ServerLaunchWrapper.main(ServerLaunchWrapper.java:12)
Caused by: java.lang.ClassNotFoundException: joptsimple.OptionSpec
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        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)
        ... 4 more

 

I even tried renaming the server jar:

 

PS C:\Users\minecraft\AppData\Roaming\Minecrafts\1.7.2 Forge\.minecraft> ren .\minecraft_server.1.7.2.jar .\minecraft_server.1.7.2
PS C:\Users\minecraft\AppData\Roaming\Minecrafts\1.7.2 Forge\.minecraft> dir

    Directory: C:\Users\minecraft\AppData\Roaming\Minecrafts\1.7.2 Forge\.minecraft

Mode                LastWriteTime     Length Name
----                -------------     ------ ----
d----          1/5/2014   7:20 PM            libraries
d----          1/5/2014   7:24 PM            logs
d----          1/5/2014   7:24 PM            world
-a---          1/5/2014   7:24 PM        109 banned-ips.txt
-a---          1/5/2014   7:24 PM        109 banned-players.txt
-a---          1/5/2014   7:20 PM    2125733 forge-1.7.2-10.12.0.993-universal.jar
-a---          1/5/2014   7:20 PM    9163955 minecraft_server.1.7.2
-a---          1/5/2014   7:24 PM          0 ops.txt
-a---          1/5/2014   7:24 PM        656 server.properties
-a---          1/5/2014   7:24 PM          0 white-list.txt


PS C:\Users\minecraft\AppData\Roaming\Minecrafts\1.7.2 Forge\.minecraft> java -Xmx1G -Xms1G -jar .\forge-1.7.2-10.12.0.993-universal.jar nogui
Exception in thread "main" java.lang.NoClassDefFoundError: joptsimple/OptionSpec
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Unknown Source)
        at cpw.mods.fml.relauncher.ServerLaunchWrapper.run(ServerLaunchWrapper.java:25)
        at cpw.mods.fml.relauncher.ServerLaunchWrapper.main(ServerLaunchWrapper.java:12)
Caused by: java.lang.ClassNotFoundException: joptsimple.OptionSpec
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        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)
        ... 4 more

 

And I can still run the minecraft 1.7.2 server file just fine by itself without Forge.  This same issue has been happening for a half dozen tested versions for me from 976 through 993.

 

I appreciate the product and the hints at solution but I'd don't appreciate the aspersion.  I've supplied the classpath in multiple ways (explicitly and by running it from the current folder the jars reside in) and it has not resolved the issue.  I also tried renaming the server jar as suggested to remove the ".jar" and that too did not change the outcome.

 

Posted

-.-

How about this

Make sure that you have BOTH minecraft_server.1.7.2 AND minecraft_server.1.7.2.jar in the folder

That way when you use a broken version it'll work

And when you use the fixed versions (993) it'll work.

 

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Posted
  On 1/6/2014 at 12:54 AM, LexManos said:

-.-

How about this

Make sure that you have BOTH minecraft_server.1.7.2 AND minecraft_server.1.7.2.jar in the folder

That way when you use a broken version it'll work

And when you use the fixed versions (993) it'll work.

 

I'm using 993 above and still have the error.  I wonder if I'm experiencing what you're suspecting.

 

(with and without .jar on server file)

 

 

  Reveal hidden contents

 

 

 

Posted

Humm, somehow jopt dissapeared from the server jar.. Use 994 it has it fixed, and i've tested fully.

Got to love one broken thing hiding another...

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Posted
  On 1/6/2014 at 3:09 AM, LexManos said:

Humm, somehow jopt dissapeared from the server jar.. Use 994 it has it fixed, and i've tested fully.

Got to love one broken thing hiding another...

 

Confirmed:  994 runs fine and 1.7.2 clients w/ 994 Forge connect fine.

 

Thank you for following through on this!

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.