Jump to content

"Missing Essential library items" message when trying to open forge server.


Recommended Posts

Posted

Whenever I try to open the forge server file it instantly closes, so I made a .bat file which opens it. The code in the bat file being: 

java -Xmx8192M -jar forgeserver.jar nogui
PAUSE

    I added PAUSE to the end to see the error message, the forge server file is named "forgeserver". So when I do run this bat file I get this message:  

E:\RLCraft+Server+Pack+1.12.2+-+Release+v2.9>java -Xmx8192M -jar forgeserver.jar nogui
Picked up _JAVA_OPTIONS: -Xmx8192M
We appear to be missing one or more essential library files.
You will need to add them to your server before FML and Forge will run successfully.java.lang.ClassNotFoundException: net.minecraft.launchwrapper.Launch
        at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
        at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
        at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
        at java.base/java.lang.Class.forName0(Native Method)
        at java.base/java.lang.Class.forName(Class.java:467)
        at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.run(ServerLaunchWrapper.java:52)
        at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.main(ServerLaunchWrapper.java:34)

E:\RLCraft+Server+Pack+1.12.2+-+Release+v2.9>PAUSE
Press any key to continue . . .

Any idea as to what the missing library files may be?

I have already tried reinstalling java and restarting the process of making the server. 

Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

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