Server 1.18.2 not working

i dont know to post i only know that im trying to start a server 1.18.2 with jdk 17.01.
forge 40.2.0 after a few seconds it just chrashes

https://discourse.codeemo.com/t/minecraft-forge-1-18-1-no-targetable-jar/5200/4

The above will get you most of the way. HOWEVER, there are two important things to note:

  1. Don’t put any other arguments in the “Additional Java arguments” box. Anything for garbage collection, optimization, etc. goes in the user_jvm_args.txt in the root of your server directory. Adding other args to this box seems to only lead to failure. I did try putting said args into the “Additional Jar Args” box, but that seemed to make the server upset, too.
  2. Be careful what string you copy to put into the “Additional Java arguments” box. Copy it from your own run.sh that was generated after installing Forge, do not copy from that link, as the version is likely different and having the wrong version number will cause failures (not that I did this, nope, not me…)
1 Like