-
Posts
35 -
Joined
-
Last visited
Posts posted by blackout4951
-
-
I'm trying to create a server on minecraft with forge but whenever i attempt to run my installer for forge, it just stops and does nothing but give me a log saying -
java.net.preferIPv4Stack=true
Exception in thread "main" java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
at net.minecraftforge.installer.Java6Gate.main(Java6Gate.java:48)
Caused by: java.lang.ExceptionInInitializerError
at net.minecraftforge.installer.ClientInstall.getSponsorMessage(ClientInstall.java:401)
at net.minecraftforge.installer.InstallerAction.getSponsorMessage(InstallerAction.java:60)
at net.minecraftforge.installer.InstallerPanel.updateFilePath(InstallerPanel.java:334)
at net.minecraftforge.installer.InstallerPanel.<init>(InstallerPanel.java:315)
at net.minecraftforge.installer.SimpleInstaller.launchGui(SimpleInstaller.java:167)
at net.minecraftforge.installer.SimpleInstaller.main(SimpleInstaller.java:54)
... 5 more
Caused by: java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1
at net.minecraftforge.installer.MirrorData.buildMirrorList(MirrorData.java:84)
at net.minecraftforge.installer.MirrorData.<init>(MirrorData.java:63)
at net.minecraftforge.installer.MirrorData.<clinit>(MirrorData.java:17)
... 11 more
I'm going to list everything I can on which i think could have caused the issue and list the things i think may help you help me.
My 64x javas are -
jdk-16.0.2
jre1.8.0_301
My x86 javas are -
jre1.8.0_301
The java work fine for modpacks, the mods work but when I want to run my installer for forge, it refuses to work.
I've had experience with forge and I know the basics but I've never gotten this issue before.
Any help would be appreciated thank you. -
ok I had to same issue earlier and this worked, however this was a while ago so maybe instead of jdk16.. try
" "C:\Program Files\Java\jre1.8.0_301\bin\java.exe" " -
Within your .bat coding change "Java" to " "C:\Program Files\Java\jdk-16.0.2\bin\java.exe" "
and dont forget to include the " " before and after -
what is your java file?
You can find it by searching with C:\Program Files\Java\ or you can head into your "Program Files" and enter the "Java" file -
what is the coding you are using in your .bat file?
-
@LuisAduanahowever the actual forge version is -
41.23.5.2838 -
1.12.2
-
I'm trying to create a server on minecraft with forge but whenever i attempt to run my installer for forge, it just stops and does nothing but give me a log saying -
java.net.preferIPv4Stack=true
Exception in thread "main" java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
at net.minecraftforge.installer.Java6Gate.main(Java6Gate.java:48)
Caused by: java.lang.ExceptionInInitializerError
at net.minecraftforge.installer.ClientInstall.getSponsorMessage(ClientInstall.java:401)
at net.minecraftforge.installer.InstallerAction.getSponsorMessage(InstallerAction.java:60)
at net.minecraftforge.installer.InstallerPanel.updateFilePath(InstallerPanel.java:334)
at net.minecraftforge.installer.InstallerPanel.<init>(InstallerPanel.java:315)
at net.minecraftforge.installer.SimpleInstaller.launchGui(SimpleInstaller.java:167)
at net.minecraftforge.installer.SimpleInstaller.main(SimpleInstaller.java:54)
... 5 more
Caused by: java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1
at net.minecraftforge.installer.MirrorData.buildMirrorList(MirrorData.java:84)
at net.minecraftforge.installer.MirrorData.<init>(MirrorData.java:63)
at net.minecraftforge.installer.MirrorData.<clinit>(MirrorData.java:17)
... 11 more
I'm going to list everything I can on which i think could have caused the issue and list the things i think may help you help me.
My 64x javas are -
jdk-16.0.2
jre1.8.0_301
My x86 javas are -
jre1.8.0_301
The java work fine for modpacks, the mods work but when I want to run my installer for forge, it refuses to work.
I've had experience with forge and I know the basics but I've never gotten this issue before.
Any help would be appreciated thank you. -
I had spent 3 days attempting to fix everything about my upcoming modpack, it's crashes, it's mods and after 3 days I had finally fixed it, I turned the modpack into a .zip file and uploaded with everything else needed to my modpack. It worked on it's specified version, there were no bugs or crashes but yet my file is still under review after 5 hours of waiting, the files is on "Release" and the License is "All Rights Reserved"
Can someone help me please -
So usually when it comes to my game crashing I understand it quite well and it's very simple for me to fix, however, with me trying to make my first modpack, everything was going very well until I try to test it, I start it up on my minecraft everything is up to date but then it crashes. I've try to copy and paste everything thats important from the crash log, I don't know why, this issue is probably something you hardly see being posted here but honestly, its me, I'm not smart when it's late at night but can someone please point out what I need to do with my modpack to fix this crash issue, thank you
However, Im guessing its a mod I need to sort out, I'm just usure what mod and what to do with it.
Here is the crash log -
---- Minecraft Crash Report ----
WARNING: coremods are present:
llibrary (llibrary-core-1.0.11-1.12.2.jar)
TransformLoader (DynamicSurroundings-1.12.2-3.6.1.0.jar)
CreativePatchingLoader (CreativeCore_v1.9.90_mc1.12.2.jar)
ForgelinPlugin (Forgelin-1.8.4.jar)
iceandfire (iceandfire-1.9.1-1.12.2.jar)
WolfArmorCore (wolfarmor-1.12.2-3.4.1.1-UNIVERSAL-signed.jar)
Contact their authors BEFORE contacting forge// I let you down. Sorry
Time: 8/7/21 3:03 AM
Description: Initializing gamejava.lang.NoClassDefFoundError: Lteam/creative/enhancedvisuals/common/death/DeathMessages;
at java.lang.Class.getDeclaredFields0(Native Method)
at java.lang.Class.privateGetDeclaredFields(Class.java:2583)
at java.lang.Class.getDeclaredField(Class.java:2068)
at net.minecraftforge.fml.common.ProxyInjector.inject(ProxyInjector.java:70)
at net.minecraftforge.fml.common.FMLModContainer.constructMod(FMLModContainer.java:611)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91)
at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150)
at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76)
at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399)
at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71)
at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116)
at com.google.common.eventbus.EventBus.post(EventBus.java:217)
at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:219)
at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:197)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91)
at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150)
at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76)
at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399)
at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71)
at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116)
at com.google.common.eventbus.EventBus.post(EventBus.java:217)
at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:136)
at net.minecraftforge.fml.common.Loader.loadMods(Loader.java:593)
at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:232)
at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:467)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:378)
at net.minecraft.client.main.Main.main(SourceFile:123)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
Caused by: java.lang.ClassNotFoundException: team.creative.enhancedvisuals.common.death.DeathMessages
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 40 more
Caused by: java.lang.NoClassDefFoundError: com/creativemd/creativecore/common/config/api/ICreativeConfig
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:760)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:182)
... 42 more
Caused by: java.lang.ClassNotFoundException: com.creativemd.creativecore.common.config.api.ICreativeConfig
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 46 more
Caused by: java.lang.NullPointerException
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:182)
... 48 more
A detailed walkthrough of the error, its code path and all known details is as follows:
----------------------------------------------------------------------------------------- Head --
Thread: Client thread
Stacktrace:
at java.lang.Class.getDeclaredFields0(Native Method)
at java.lang.Class.privateGetDeclaredFields(Class.java:2583)
at java.lang.Class.getDeclaredField(Class.java:2068)
at net.minecraftforge.fml.common.ProxyInjector.inject(ProxyInjector.java:70)
at net.minecraftforge.fml.common.FMLModContainer.constructMod(FMLModContainer.java:611)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91)
at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150)
at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76)
at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399)
at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71)
at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116)
at com.google.common.eventbus.EventBus.post(EventBus.java:217)
at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:219)
at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:197)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91)
at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150)
at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76)
at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399)
at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71)
at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116)
at com.google.common.eventbus.EventBus.post(EventBus.java:217)
at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:136)
at net.minecraftforge.fml.common.Loader.loadMods(Loader.java:593)
at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:232)
at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:467)-- Initialization --
Details:
Stacktrace:
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:378)
at net.minecraft.client.main.Main.main(SourceFile:123)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)-- System Details --
Details:
Minecraft Version: 1.12.2
Operating System: Windows 10 (amd64) version 10.0
Java Version: 1.8.0_51, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 801365744 bytes (764 MB) / 1288699904 bytes (1229 MB) up to 3817865216 bytes (3641 MB)
JVM Flags: 4 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx4096m -Xms256m -XX:PermSize=256m
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: MCP 9.42 Powered by Forge 14.23.5.2838 53 mods loaded, 53 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 |
|:----- |:----------------------- |:---------------- |:--------------------------------------------- |:---------------------------------------- |
| LC | minecraft | 1.12.2 | minecraft.jar | None |
| LC | mcp | 9.42 | minecraft.jar | None |
| LC | FML | 8.0.99.99 | forge-1.12.2-14.23.5.2838.jar | e3c3d50c7c986df74c645c0ac54639741c90a557 |
| LC | forge | 14.23.5.2838 | forge-1.12.2-14.23.5.2838.jar | e3c3d50c7c986df74c645c0ac54639741c90a557 |
| LC | creativecoredummy | 1.0.0 | minecraft.jar | None |
| LC | abyssalcraft | 1.10.3 | AbyssalCraft-1.12.2-1.10.3.jar | 220f10d3a93b3ff5fbaa7434cc629d863d6751b9 |
| LC | alcatrazcore | 1.0.4 | alcatrazcore-1.0.4.jar | 3c2d6be715971d1ed58a028cdb3fae72987fc934 |
| LC | carrots | 1.0.0b1 | carrotslib-mc1.12.2-1.0.0b1.jar | None |
| LC | armorunder | 1.0.0 | armorunder-mc1.12.2-1.0.0.jar | None |
| LC | battletowers | 1.6.5 | BattleTowers-1.12.2.jar | None |
| LC | betternether | 0.1.8.6 | betternether-0.1.8.6.jar | None |
| LC | biomesoplenty | 7.0.1.2441 | BiomesOPlenty-1.12.2-7.0.1.2441-universal.jar | None |
| LC | byg | 1.7.1 | BiomesYouGo1.7.1.jar | None |
| LC | campfire | 1.2 | campfire-1.12-v1.2.jar | None |
| LC | toughasnails | 3.1.0.139 | ToughAsNails-1.12.2-3.1.0.139-universal.jar | None |
| LC | comforts | 1.4.1.3 | comforts-1.12.2-1.4.1.3.jar | 2484ef4d131fdc0dca0647aa21b7b944ddb935a1 |
| LC | creativecore | 1.9.9 | CreativeCore_v1.9.90_mc1.12.2.jar | None |
| LC | discordcraft | 1.0 | DiscordCraft-2.0.jar | None |
| LC | dldungeonsjbg | 1.14.7 | DoomlikeDungeons-1.14.7-MC1.12.2.jar | None |
| LC | dragonmounts | 1.12.2-1.6.3 | DragonMounts2-1.12.2-1.6.3.jar | None |
| LC | orelib | 3.6.0.1 | OreLib-1.12.2-3.6.0.1.jar | 7a2128d395ad96ceb9d9030fbd41d035b435753a |
| LC | dsurround | 3.6.1.0 | DynamicSurroundings-1.12.2-3.6.1.0.jar | 7a2128d395ad96ceb9d9030fbd41d035b435753a |
| LC | dynamictrees | 1.12.2-0.9.23 | DynamicTrees-1.12.2-0.9.23.jar | None |
| LC | dynamictreesbop | 1.12.2-1.5.1 | DynamicTreesBOP-1.12.2-1.5.1.jar | None |
| L | enhancedvisuals | 1.3.0 | EnhancedVisuals_v1.4.0_mc1.12.2.jar | None |
| L | exoticbirds | 1.0 | Exotic Birds 1.12.2-3.2.0.jar | None |
| L | familiarfauna | 1.0.11 | FamiliarFauna-1.12.2-1.0.11.jar | None |
| L | fbp | 2.4.1 | FancyBlockParticles-1.12.x-2.4.1.jar | None |
| L | firstaid | 1.6.16 | firstaid-1.6.16.jar | None |
| L | foodexpansion | 1.3 | FoodExpansion1.3.3-1.12.2.jar | None |
| L | forgelin | 1.8.4 | Forgelin-1.8.4.jar | None |
| L | llibrary | 1.7.19 | llibrary-1.7.19-1.12.2.jar | None |
| L | iceandfire | 1.9.1 | iceandfire-1.9.1-1.12.2.jar | None |
| L | ic2 | 2.8.170-ex112 | industrialcraft-2-2.8.170-ex112.jar | None |
| L | teslacorelib | 1.0.17 | tesla-core-lib-1.12.2-1.0.17.jar | None |
| L | industrialforegoing | 1.12.2-1.12.2 | industrialforegoing-1.12.2-1.12.13-237.jar | None |
| L | iseedragons | 1.1 | ISeeDragons-1.1.jar | None |
| L | libraryex | 1.2.2 | LibraryEx-1.12.2-1.2.2.jar | None |
| L | medieval_craft | 1.14.4 | MedievalCraft-1.12.2-1.15.8.jar | None |
| L | mowziesmobs | 1.5.8 | mowziesmobs-1.5.8.jar | None |
| L | netherex | 2.2.5 | NetherEx-1.12.2-2.2.5.jar | None |
| L | notreepunching | 2.0.21 | notreepunching-2.0.21.jar | None |
| L | realistictorches | 2.1.2 | RealisticTorches-1.12.2-2.1.2.jar | None |
| L | xreliquary | 1.12.2-1.3.4.796 | Reliquary-1.12.2-1.3.4.796.jar | None |
| L | roguelike | 1.8.0 | RoguelikeDungeons-1.12.2-1.8.0.jar | None |
| L | spartanweaponry | beta 1.3.8 | SpartanWeaponry-1.12.2-beta-1.3.8.jar | None |
| L | spartanfire | 0.08 | spartanfire-0.08.jar | None |
| L | spartanshields | 1.5.4 | SpartanShields-1.12.2-1.5.4.jar | None |
| L | spiderstpo | 1.0.3 | spiders-2.0-1.12.2-1.0.3.jar | None |
| L | switchbow | 1.6 | switchbow-1.6.jar | None |
| L | tumbleweed | 1.12-0.4.7 | tumbleweed-1.12-0.4.7.jar | None |
| L | wolfarmor | 3.4.1.1 | wolfarmor-1.12.2-3.4.1.1-UNIVERSAL-signed.jar | None |
| L | teslacorelib_registries | 1.0.17 | tesla-core-lib-1.12.2-1.0.17.jar | None |Loaded coremods (and transformers):
llibrary (llibrary-core-1.0.11-1.12.2.jar)
net.ilexiconn.llibrary.server.core.plugin.LLibraryTransformer
net.ilexiconn.llibrary.server.core.patcher.LLibraryRuntimePatcher
TransformLoader (DynamicSurroundings-1.12.2-3.6.1.0.jar)
CreativePatchingLoader (CreativeCore_v1.9.90_mc1.12.2.jar)
ForgelinPlugin (Forgelin-1.8.4.jar)
iceandfire (iceandfire-1.9.1-1.12.2.jar)
com.github.alexthe666.iceandfire.patcher.IceAndFireRuntimePatcher
WolfArmorCore (wolfarmor-1.12.2-3.4.1.1-UNIVERSAL-signed.jar)
Sorry If its overly large -
Thank you! I've fixed the issue, I'll let you know if I have another issue!
-
-
@diesieben07I'd like to also say that I figured out the issue a few months ago, ty for your help!
-
So earlier today I had the thought of trying out forge modding (creating my own forge mod) everything was going well until I had to run the command "gradlew genEclipseRuns" I run it and it comes up with -
FAILURE: Build failed with an exception.
* What went wrong:
Unable to get mutable Windows environment variable map* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.* Get more help at https://help.gradle.org
Of course this is my first ever attempt at creating a mod and I'm currently only trying to understand the basics of it. I'm also expecting to run into bugs. Anyway, I downloaded forge 1.16.3 and the mdk and the javas I hold are -
jdk-14.0.2
jdk-16.0.1
jre1.8.0_291
I suspect it to be an issue with my javas or forge but I'm not quite sure.
All of my mdk files and folders are located at "C:\Users\User\AppData\Roaming\.minecraft\mods\Gods-and-War\gods-and-war" The was a file that ive had in there for a good while so I put all the mdk files in there.
Any support will be appreciated!!
Also I have add a picture showing my downloaded files for this! -
im quite confused right now because ive found a jdk file called "Java development kit" but im still a little confused on how i find it in my files so i can delete it because in windows/the start up thingy, you can only run commands you cant delete files or .exes or batch files, etc
-
Im sorry about this btw, im not as experienced as others with coding or files. This is the first time ive tried to make a forge server for myself
-
how do I find that i found files called "Java development kit" on my windows/start up thingy, but i cant find it on my files.
-
Now whenever i try to install jdk 8 aka java 8, it keeps coming up with "This version of the JDK is already installed" but I have no version of that JDK installed.
-
Its saying:
C:\Users\User\Downloads\blackout>"C:\Program Files\Java\bin\java" -Xmx4096M -Xms4096M -jar forgeserver.jar nogui
The system cannot find the path specified.C:\Users\User\Downloads\blackout>pause
Press any key to continue . . .
I definitely feel like im missing something within the "C:\Program Files\Java\bin\java" part I just dont know what, do I need to put in the version i want it to run? Like for example if I wanted it to run java 8 do I put "jre.1.8.0_291" somewhere in that .bat code?
I apologise if I seem quite confusing right now -
Its saying:
C:\Users\User\Downloads\blackout>C:\Program Files\Java\bin\java -Xmx4096M -Xms4096M -jar forgeserver.jar nogui
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.C:\Users\User\Downloads\blackout>pause
Press any key to continue . . . -
Ive coded my bat like this:
java -Xmx4096M -Xms4096M -jar forgeserver.jar nogui
pausehave I done it wrong??
-
what do you mean by that?
-
But i can easily run forge by double clicking it without .bat but it lags alot and I'm after a .bat file because I can use more ram and it lags less.
-
ahh ok, well now its just repeating the same thing as before:
C:\Users\User\Downloads\blackout>java -Xmx4096M -Xms4096M -jar forgeserver.jar noguiC:\Users\User\Downloads\blackout>pause
Press any key to continue . . .
Server wont work?
in Support & Bug Reports
Posted
I've been getting the same issue over and over again, ive tried completely restarting the process. I've also tried uninstalling a few mods but it still won't work.
Just before the batch file stops, it says this -
"[13:11:50] [Server thread/INFO] [FML]: The state engine was in incorrect state PREINITIALIZATION and forced into state SERVER_STOPPED. Errors may have been discarded."
here is a picture of all of the server's mods -