Jump to content

help making a 1.12.2 server, the forge file will not open


sandro275

Recommended Posts

Im trying to make a 1.12.2 server and i started it up with the minecraft_server_1.12.2 thing and then i agreed to the eula and ran it again, but i can't run forge and only the vanilla server. I tried using a batch file to start the server and i get this error: 

2022-07-14 01:42:37,518 main ERROR Error processing element Queue ([Appenders: null]): CLASS_NOT_FOUND
2022-07-14 01:42:37,559 main WARN Disabling terminal, you're running in an unsupported environment.
2022-07-14 01:42:37,605 main ERROR Unable to locate appender "ServerGuiConsole" for logger config "root"
[01:42:37] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLServerTweaker
[01:42:37] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLServerTweaker
[01:42:37] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLServerTweaker
A problem occurred running the Server launcher.java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at 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.NoClassDefFoundError: com/google/common/collect/Lists
        at net.minecraftforge.fml.common.launcher.FMLTweaker.acceptOptions(FMLTweaker.java:69)
        at net.minecraftforge.fml.common.launcher.FMLServerTweaker.acceptOptions(FMLServerTweaker.java:36)
        at net.minecraft.launchwrapper.Launch.launch(Launch.java:114)
        at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
        ... 6 more
Caused by: java.lang.ClassNotFoundException: com.google.common.collect.Lists
        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)
        ... 10 more

unknown.png?width=1440&height=704
    

Link to comment
Share on other sites

@echo off
"C:\Program Files\Java\jre1.8.0_331\bin\java.exe" -Xms4G -Xmx8G -XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:+AlwaysPreTouch -XX:G1NewSizePercent=30 -XX:G1MaxNewSizePercent=40 -XX:G1HeapRegionSize=8M -XX:G1ReservePercent=20 -XX:G1HeapWastePercent=5 -XX:G1MixedGCCountTarget=4 -XX:InitiatingHeapOccupancyPercent=15 -XX:G1MixedGCLiveThresholdPercent=90 -XX:G1RSetUpdatingPauseTimePercent=5 -XX:SurvivorRatio=32 -XX:+PerfDisableSharedMem -XX:MaxTenuringThreshold=1 -Dusing.aikars.flags=https://mcflags.emc.gs -Daikars.new.flags=true -jar forge-1.12.2-14.23.5.2860.jar nogui

Here's my start.bat if you want to take a look. I grab the java from "C:\Program Files\Java\jre1.8.0_331\bin\" -> which is my JAVA_HOME environmental variable.

Then I run the jar file "forge-1.12.2-14.23.5.2860.jar"

Edited by BaTaTa_Adb
forgot to put jar file
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


×
×
  • Create New...

Important Information

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