Minecraft forge 1.18.1 no targetable jar

OK, I haven’t fully tested i.e. played on it, but I have managed to get the server UP through mineos.

  1. have the latest java installed
  2. copy the universal JAR from libraries/net/minecraftforge/forge/1.18.1-39.0.5/ to your server directory
  3. add @user_jvm_args.txt @libraries/net/minecraftforge/forge/1.18.1-39.0.5/unix_args.txt to your additional java arguments box (copied out of the run.sh file)

ignore the JDK bit in the UI, I’ve added a java selector feature to mine which allows me to unzip the jdk into a folder in /usr/games/minecraft/java/ and then run the jar with that.

If the universal JDK doesn’t show in the dropdown just refresh your page and it should reload the JARs in the server directory.

5 Likes