I feel incredibly dumb that I'm having this problem as I'm almost certain this should be an easy fix. Basically what is happening is that I'm able to run Forge Server Client normally through the forge-universal.jar file. However, the amount of RAM allocated for it is far too small and causes the server to crash with the mod I'm using (Pixelmon 3.4). Through run.bat, I'm running this code:
Yes, the .jar file is called "forge.jar." What ends up happening is that it's trying to call upon the filepath 'C:\Windows\system32\' rather than the folder that Forge and all the mods are in. That's why I have the extremely specific filepath in the run.bat because otherwise it can't find forge.jar. When I do end up running it, the following happens:
C:\Windows\system32>java -Xms1024M -Xmx2048M -jar C:\Users\Anthony\AppData\Roami
ng\.minecraft\server\PixelmonServer\forge.jar
[15:37:24] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.co
mmon.launcher.FMLServerTweaker
[15:37:24] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.
fml.common.launcher.FMLServerTweaker
[15:37:24] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.
launcher.FMLServerTweaker
[15:37:25] [main/INFO] [FML]: Forge Mod Loader version 7.10.85.1230 for Minecraf
t 1.7.10 loading
[15:37:25] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version
1.7.0_80, running on Windows 7:amd64:6.1, installed at C:\Program Files\Java\jr
e7
[15:37:25] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.co
mmon.launcher.FMLInjectionAndSortingTweaker
[15:37:25] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.co
mmon.launcher.FMLDeobfTweaker
[15:37:25] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.
launcher.FMLInjectionAndSortingTweaker
[15:37:25] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.
launcher.FMLInjectionAndSortingTweaker
[15:37:25] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relaunc
her.CoreModManager$FMLPluginWrapper
[15:37:26] [main/INFO] [FML]: Found valid fingerprint for Minecraft Forge. Certi
ficate fingerprint e3c3d50c7c986df74c645c0ac54639741c90a557
[15:37:26] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relaunc
her.CoreModManager$FMLPluginWrapper
[15:37:26] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.
launcher.FMLDeobfTweaker
[15:37:27] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.co
mmon.launcher.TerminalTweaker
[15:37:27] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.
launcher.TerminalTweaker
[15:37:27] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecra
ft.server.MinecraftServer}
[15:39:31] [main/WARN] [FML]: ==================================================
===========
[15:39:31] [main/WARN] [FML]: MOD HAS DIRECT REFERENCE System.exit() THIS IS NOT
ALLOWED REROUTING TO FML!
[15:39:31] [main/WARN] [FML]: Offendor: net/minecraft/server/gui/MinecraftServer
Gui$1.windowClosing(Ljava/awt/event/WindowEvent;)V
[15:39:31] [main/WARN] [FML]: Use FMLCommonHandler.exitJava instead
[15:39:31] [main/WARN] [FML]: ==================================================
===========
[15:39:31] [Server thread/INFO]: Starting minecraft server version 1.7.10
[15:39:32] [Server thread/INFO] [MinecraftForge]: Attempting early MinecraftForg
e initialization
[15:39:32] [Server thread/INFO] [FML]: MinecraftForge v10.13.2.1230 Initialized
[15:39:32] [Server thread/INFO] [FML]: Replaced 182 ore recipies
[15:39:32] [Server thread/INFO] [MinecraftForge]: Completed early MinecraftForge
initialization
[15:39:32] [Server thread/INFO] [FML]: Searching C:\Windows\System32\mods for mo
ds
[15:39:33] [Server thread/INFO] [FML]: Forge Mod Loader has identified 3 mods to
load
[15:39:33] [Server thread/INFO] [FML]: Attempting connection with missing mods [
mcp, FML, Forge] at CLIENT
[15:39:33] [Server thread/INFO] [FML]: Attempting connection with missing mods [
mcp, FML, Forge] at SERVER
[15:39:33] [Server thread/INFO] [FML]: Processing ObjectHolder annotations
[15:39:33] [Server thread/INFO] [FML]: Found 341 ObjectHolder annotations
[15:39:33] [Server thread/INFO] [FML]: Configured a dormant chunk cache size of
0
[15:39:33] [Server thread/INFO] [FML]: Applying holder lookups
[15:39:33] [Server thread/INFO] [FML]: Holder lookups applied
[15:39:33] [Server thread/INFO]: Loading properties
[15:39:33] [Server thread/INFO]: You need to agree to the EULA in order to run t
he server. Go to eula.txt for more info.
[15:39:33] [Server thread/WARN] [FML]: Can't revert to frozen GameData state wit
hout freezing first.
[15:39:33] [Server thread/INFO] [FML]: Applying holder lookups
[15:39:33] [Server thread/INFO] [FML]: Holder lookups applied
[15:39:33] [Server thread/INFO] [FML]: The state engine was in incorrect state P
OSTINITIALIZATION and forced into state SERVER_STOPPED. Errors may have been dis
carded.
C:\Windows\system32>PAUSE
Press any key to continue . . .
Oh I see. I placed it into another folder simply to keep everything organized. I didn't think that was going to cause an issue. It still has its own eula.txt, banned-players, whitelist, etc. files and as I said, it runs normally through the forge.jar file - just not when I run it through the run.bat file.
That all being said, I moved everything into the main server folder, and am still having the same issue. When I attempt to run "java -Xms1024M -Xmx2048M -jar forge.jar" in the run.bat it tells me "Unable to locate file forge.jar." Again, it is named forge.jar.
Well, I knew it was going to be a simple fix. Clean installing Java did work. It probably also didn't help that I had a couple of old versions still installed. Thanks very much!
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I feel incredibly dumb that I'm having this problem as I'm almost certain this should be an easy fix. Basically what is happening is that I'm able to run Forge Server Client normally through the forge-universal.jar file. However, the amount of RAM allocated for it is far too small and causes the server to crash with the mod I'm using (Pixelmon 3.4). Through run.bat, I'm running this code:
Yes, the .jar file is called "forge.jar." What ends up happening is that it's trying to call upon the filepath 'C:\Windows\system32\' rather than the folder that Forge and all the mods are in. That's why I have the extremely specific filepath in the run.bat because otherwise it can't find forge.jar. When I do end up running it, the following happens:
C:\Windows\system32>java -Xms1024M -Xmx2048M -jar C:\Users\Anthony\AppData\Roami
ng\.minecraft\server\PixelmonServer\forge.jar
[15:37:24] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.co
mmon.launcher.FMLServerTweaker
[15:37:24] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.
fml.common.launcher.FMLServerTweaker
[15:37:24] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.
launcher.FMLServerTweaker
[15:37:25] [main/INFO] [FML]: Forge Mod Loader version 7.10.85.1230 for Minecraf
t 1.7.10 loading
[15:37:25] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version
1.7.0_80, running on Windows 7:amd64:6.1, installed at C:\Program Files\Java\jr
e7
[15:37:25] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.co
mmon.launcher.FMLInjectionAndSortingTweaker
[15:37:25] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.co
mmon.launcher.FMLDeobfTweaker
[15:37:25] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.
launcher.FMLInjectionAndSortingTweaker
[15:37:25] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.
launcher.FMLInjectionAndSortingTweaker
[15:37:25] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relaunc
her.CoreModManager$FMLPluginWrapper
[15:37:26] [main/INFO] [FML]: Found valid fingerprint for Minecraft Forge. Certi
ficate fingerprint e3c3d50c7c986df74c645c0ac54639741c90a557
[15:37:26] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relaunc
her.CoreModManager$FMLPluginWrapper
[15:37:26] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.
launcher.FMLDeobfTweaker
[15:37:27] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.co
mmon.launcher.TerminalTweaker
[15:37:27] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.
launcher.TerminalTweaker
[15:37:27] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecra
ft.server.MinecraftServer}
[15:39:31] [main/WARN] [FML]: ==================================================
===========
[15:39:31] [main/WARN] [FML]: MOD HAS DIRECT REFERENCE System.exit() THIS IS NOT
ALLOWED REROUTING TO FML!
[15:39:31] [main/WARN] [FML]: Offendor: net/minecraft/server/gui/MinecraftServer
Gui$1.windowClosing(Ljava/awt/event/WindowEvent;)V
[15:39:31] [main/WARN] [FML]: Use FMLCommonHandler.exitJava instead
[15:39:31] [main/WARN] [FML]: ==================================================
===========
[15:39:31] [Server thread/INFO]: Starting minecraft server version 1.7.10
[15:39:32] [Server thread/INFO] [MinecraftForge]: Attempting early MinecraftForg
e initialization
[15:39:32] [Server thread/INFO] [FML]: MinecraftForge v10.13.2.1230 Initialized
[15:39:32] [Server thread/INFO] [FML]: Replaced 182 ore recipies
[15:39:32] [Server thread/INFO] [MinecraftForge]: Completed early MinecraftForge
initialization
[15:39:32] [Server thread/INFO] [FML]: Searching C:\Windows\System32\mods for mo
ds
[15:39:33] [Server thread/INFO] [FML]: Forge Mod Loader has identified 3 mods to
load
[15:39:33] [Server thread/INFO] [FML]: Attempting connection with missing mods [
mcp, FML, Forge] at CLIENT
[15:39:33] [Server thread/INFO] [FML]: Attempting connection with missing mods [
mcp, FML, Forge] at SERVER
[15:39:33] [Server thread/INFO] [FML]: Processing ObjectHolder annotations
[15:39:33] [Server thread/INFO] [FML]: Found 341 ObjectHolder annotations
[15:39:33] [Server thread/INFO] [FML]: Configured a dormant chunk cache size of
0
[15:39:33] [Server thread/INFO] [FML]: Applying holder lookups
[15:39:33] [Server thread/INFO] [FML]: Holder lookups applied
[15:39:33] [Server thread/INFO]: Loading properties
[15:39:33] [Server thread/INFO]: You need to agree to the EULA in order to run t
he server. Go to eula.txt for more info.
[15:39:33] [Server thread/WARN] [FML]: Can't revert to frozen GameData state wit
hout freezing first.
[15:39:33] [Server thread/INFO] [FML]: Applying holder lookups
[15:39:33] [Server thread/INFO] [FML]: Holder lookups applied
[15:39:33] [Server thread/INFO] [FML]: The state engine was in incorrect state P
OSTINITIALIZATION and forced into state SERVER_STOPPED. Errors may have been dis
carded.
C:\Windows\system32>PAUSE
Press any key to continue . . .
Thank you in advance for any help!
Oh I see. I placed it into another folder simply to keep everything organized. I didn't think that was going to cause an issue. It still has its own eula.txt, banned-players, whitelist, etc. files and as I said, it runs normally through the forge.jar file - just not when I run it through the run.bat file.
That all being said, I moved everything into the main server folder, and am still having the same issue. When I attempt to run "java -Xms1024M -Xmx2048M -jar forge.jar" in the run.bat it tells me "Unable to locate file forge.jar." Again, it is named forge.jar.
http://i.imgur.com/0jMe5GL.png
Well, I knew it was going to be a simple fix. Clean installing Java did work. It probably also didn't help that I had a couple of old versions still installed. Thanks very much!