Denigo Posted August 13, 2023 Share Posted August 13, 2023 I'm launching run.bat and it gives me: D:\Forge>REM Forge requires a configured set of both JVM and program arguments. D:\Forge>REM Add custom JVM arguments to the user_jvm_args.txt D:\Forge>REM Add custom program arguments {such as nogui} to this file in the next line before the or D:\Forge>REM pass them to this script directly D:\Forge>java @user_jvm_args.txt @libraries/net/minecraftforge/forge/1.18.2-40.2.4/win_args.txt Error: Could not find or load main class @user_jvm_args.txt I changed the text file and it still didn't help user_jvm_args.txt: I tried two commands -Xmx9216M -Xms1024M "C:\Program Files\Java\jdk-20.0.2\bin\java.exe" -Xmx9216M -Xms1024M -jar forge-1.18.2-40.2.4-server.jar nogui I sit and think what's wrong, what I didn't finish or missed. I already want to die. Quote Link to comment Share on other sites More sharing options...
Paint_Ninja Posted August 15, 2023 Share Posted August 15, 2023 You need Java 17 for Minecraft 1.18.2. In the first one you're using Java 8, in the second one you're using Java 20. Quote Official Forge Discord server | Support FAQ for players Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.