Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Nyxistaken

Members
  • Joined

  • Last visited

  1. the run.bat file just says this C:\Users\Filip\Desktop\Minecraft Server>java -Xmx4096M -Xms5096M -jar forgeserver.jar nogui 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. C:\Users\Filip\Desktop\Minecraft Server>PAUSE Press any key to continue . . .
  2. Hello, could anyone lend me a hand with this? My modded server keeps crashing on launch and I am not sure why, the run.bat thing that I have doesn't launch it either, this is the latest crash log: ---- Minecraft Crash Report ---- WARNING: coremods are present: PhosphorFMLLoadingPlugin (phosphor-1.12.2-0.2.6+build50.jar) MekanismCoremod (Mekanism-1.12.2-9.8.3.390.jar) Contact their authors BEFORE contacting forge // Who set us up the TNT? Time: 15/08/20 23:02 Description: Exception in server tick loop java.lang.OutOfMemoryError: Java heap space A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- System Details -- Details: Minecraft Version: 1.12.2 Operating System: Windows 10 (x86) version 10.0 Java Version: 1.8.0_261, Oracle Corporation Java VM Version: Java HotSpot(TM) Client VM (mixed mode, sharing), Oracle Corporation Memory: 29392672 bytes (28 MB) / 259522560 bytes (247 MB) up to 259522560 bytes (247 MB) JVM Flags: 0 total; IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 FML: MCP 9.42 Powered by Forge 14.23.5.2854 18 mods loaded, 18 mods active States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored | State | ID | Version | Source | Signature | |:----- |:----------------- |:---------------- |:--------------------------------------------- |:---------------------------------------- | | LCH | minecraft | 1.12.2 | minecraft.jar | None | | LCH | mcp | 9.42 | minecraft.jar | None | | LCH | FML | 8.0.99.99 | forgeserver.jar | e3c3d50c7c986df74c645c0ac54639741c90a557 | | LCH | forge | 14.23.5.2854 | forgeserver.jar | e3c3d50c7c986df74c645c0ac54639741c90a557 | | LCH | orbis-lib | 0.2.0 | orbis-lib-1.12.2-0.2.0+build411.jar | db341c083b1b8ce9160a769b569ef6737b3f4cdf | | LCH | aether | 0.3.0 | aether_ii-1.12.2-0.3.0+build411-universal.jar | db341c083b1b8ce9160a769b569ef6737b3f4cdf | | LCH | craftstudioapi | 1.0.0 | CraftStudio-API-1.12.2.jar | None | | LCH | animania | 1.7.1 | Animania-Mod-1.12.2.jar | None | | LCH | cfm | 6.3.0 | cfm-6.3.0-mc1.12.2.jar | None | | LCH | mocreatures | 12.0.5 | DrZharks MoCreatures Mod-12.0.5.jar | None | | LCH | horse_colors | 1.12.2-1.0.2 | horse_colors-1.12.2-1.0.4.jar | None | | LCH | inventorysorter | 1.13.3+57 | inventorysorter-1.12.2-1.13.3+57.jar | None | | LCH | lightning_bolt | 1.0 | lightning_bolt-1.12-1.0.jar | None | | LCH | mekanism | 1.12.2-9.8.3.390 | Mekanism-1.12.2-9.8.3.390.jar | None | | LCH | mekanismtools | 1.12.2-9.8.3.390 | MekanismTools-1.12.2-9.8.3.390.jar | None | | LCH | millenaire | Millénaire 7.2.1 | millenaire-1.12.2-7.2.1.jar | None | | LCH | worldedit | 6.1.10 | worldedit-forge-mc1.12.2-6.1.10-dist.jar | None | | LCH | phosphor-lighting | 1.12.2-0.2.6 | phosphor-1.12.2-0.2.6+build50.jar | f0387d288626cc2d937daa504e74af570c52a2f1 | Loaded coremods (and transformers): PhosphorFMLLoadingPlugin (phosphor-1.12.2-0.2.6+build50.jar) MekanismCoremod (Mekanism-1.12.2-9.8.3.390.jar) mekanism.coremod.KeybindingMigrationHelper Profiler Position: N/A (disabled) Is Modded: Definitely; Server brand changed to 'fml,forge' Type: Dedicated Server (map_server.txt)
  3. I’m not sure. I think 64? Also I was able to manually open the forge server file this time, though after a few minutes the client crashes without showing any error messages
  4. Downloaded the latest version and now I am getting this: C:\Users\Filip\Desktop\Minecraft Server>java -Xmx4096M -Xms4096M -jar forgeserver.jar nogui 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. C:\Users\Filip\Desktop\Minecraft Server>PAUSE Press any key to continue . . .
  5. I'm not sure, I installed it quite a wee while ago. Tbh I haven't touched MC until a few weeks ago when my brother bought it, hence why I wanted to make a server with mods (LAN connection kept timing out or having weird errors)
  6. I just figured that out with a video, but when I try to launch the forge jar this is what I get C:\Users\Filip\Desktop\Minecraft Server>java -Xmx4096M -Xms4096M -jar forgeserver.jar nogui A problem occurred running the Server launcher.java.lang.reflect.InvocationTargetException at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.base/java.lang.reflect.Method.invoke(Unknown Source) at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.run(ServerLaunchWrapper.java:70) at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.main(ServerLaunchWrapper.java:34) Caused by: java.lang.ClassCastException: java.base/jdk.internal.loader.ClassLoaders$AppClassLoader cannot be cast to java.base/java.net.URLClassLoader at net.minecraft.launchwrapper.Launch.<init>(Launch.java:34) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) ... 6 more C:\Users\Filip\Desktop\Minecraft Server>PAUSE Press any key to continue . . . and that's after having changed the file name to forgeserver and the run task to forgeserver.jar If I keep the same names as default on run.bat I end up with a "click a key to continue" without any other info the thing just doesn't launch
  7. Hello! I am very new to making servers so I would greatly appreciate a bit of help, it's just a little server I can play with my friends and its meant to be modded. Now, I installed the server using the Forge Server installer like was mentioned, I did everything correctly and created the according files, then c/p'd the mods and config I have into the server files. I agreed to the EULA as well like it said. Now the vanilla version opens with no issue (minecraft_server.1.12.2) and runs the server just fine, ofc on this version I can't place any modded blocks or anything. I have a forge-1.12.2-14.23.5.2854 file too, when clicked it does nothing. I made a run.bat file with the following code: java -Xmx4096M -Xms4096M -jar forge-1.12.2-14.23.5.2854 nogui PAUSE - but it doesn't do much, I think it fails and tells me to press another key. When I change the run.bat file to say forgeserver.jar and change the actual forge file to "forgeserver" my CMD opens and says the following: C:\Users\Filip\Desktop\Minecraft Server>java -Xmx4096M -Xms4096M -jar forgeserver.jar nogui A problem occurred running the Server launcher.java.lang.reflect.InvocationTargetException at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.base/java.lang.reflect.Method.invoke(Unknown Source) at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.run(ServerLaunchWrapper.java:70) at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.main(ServerLaunchWrapper.java:34) Caused by: java.lang.ClassCastException: java.base/jdk.internal.loader.ClassLoaders$AppClassLoader cannot be cast to java.base/java.net.URLClassLoader at net.minecraft.launchwrapper.Launch.<init>(Launch.java:34) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) ... 6 more C:\Users\Filip\Desktop\Minecraft Server>PAUSE Press any key to continue . . . And then it closes. Any idea of what to do? I don't even know if I've done something wrong, if I can supply any more info I'd be happy to
  8. Alright, but I don't think any of the server stuff changes too much with the version, I just need a hand
  9. Nyxistaken joined the community
  10. Hello! I am still very new to creating servers but today I was trying to make one so that me and my brother could play with mods. I created a forge server and allowed it to install, I also made a run.bat file though had to delete it afterwards as it stopped working, not sure why. Now the server itself does work, but whenever I try to place a modded block it just seems to vanish here are my latest logs: [19:21:45] [Server thread/INFO]: Starting minecraft server version 1.12.2 [19:21:45] [Server thread/INFO]: Loading properties [19:21:45] [Server console handler/ERROR]: Exception handling console input java.io.IOException: The handle is invalid at java.io.FileInputStream.readBytes(Native Method) ~[?:?] at java.io.FileInputStream.read(Unknown Source) ~[?:?] at java.io.BufferedInputStream.read1(Unknown Source) ~[?:?] at java.io.BufferedInputStream.read(Unknown Source) ~[?:?] at sun.nio.cs.StreamDecoder.readBytes(Unknown Source) ~[?:?] at sun.nio.cs.StreamDecoder.implRead(Unknown Source) ~[?:?] at sun.nio.cs.StreamDecoder.read(Unknown Source) ~[?:?] at java.io.InputStreamReader.read(Unknown Source) ~[?:?] at java.io.BufferedReader.fill(Unknown Source) ~[?:?] at java.io.BufferedReader.readLine(Unknown Source) ~[?:?] at java.io.BufferedReader.readLine(Unknown Source) ~[?:?] at nz$2.run(SourceFile:100) [minecraft_server.1.12.2.jar:?] [19:21:45] [Server thread/INFO]: Default game type: SURVIVAL [19:21:45] [Server thread/INFO]: Generating keypair [19:21:45] [Server thread/INFO]: Starting Minecraft server on 192.168.0.150:25565 [19:21:45] [Server thread/INFO]: Using default channel type [19:21:46] [Server thread/INFO]: Preparing level "world" [19:21:46] [Server thread/INFO]: Loaded 488 advancements [19:21:46] [Server thread/INFO]: Preparing start region for level 0 [19:21:47] [Server thread/INFO]: Preparing spawn area: 48% [19:21:48] [Server thread/INFO]: Done (1.771s)! For help, type "help" or "?" [19:22:01] [User Authenticator #1/INFO]: UUID of player Nyxistaken is 0609cbac-80f9-45a0-8fe0-0c261d3ef31b [19:22:01] [Server thread/INFO]: Nyxistaken[/192.168.0.150:55368] logged in with entity id 190 at (37.5, 63.0, 252.5) [19:22:01] [Server thread/INFO]: Nyxistaken joined the game [19:22:33] [Server thread/INFO]: Set Nyxistaken's game mode to Survival Mode [19:22:47] [Server thread/INFO]: Set Nyxistaken's game mode to Creative Mode I have about 13 mods that I am using including an NPC mod and the Aether mod. My brother has these installed as well, I have them installed on my main game and in the server folder so I'm not sure why it isn't working

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.