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.

Featured Replies

Posted

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
    

  • Author

here's a screenshot of my folder (i renamed some files for convenience) i have 2 batch files because i saw something that said to remove the nogui line from it

unknown.png?width=1440&height=676

 

 

@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

3 minutes ago, sandro275 said:

I'm actually using java 8, i'll try reinstalling it

Could you show your output on "java -version" and "echo %JAVA_HOME%" ?

  • Author

I tried your start.bat and I made sure java 8 was in the spot it was in, but it just wouldn't open at all

What do mean by  "java -version" and "echo %JAVA_HOME%" 

I don't really know where to find that

  • Author

I fixed your start.bat file, it was just a file naming issue but it still gives me the same error

Guest
This topic is now closed to further replies.

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.