[SOLUTION] Truenas SCALE MineOS Server Not Starting (Quick-guide for installing Java) [Forge, Vanilla, etc.]

I’ve seen a lot of people here asking about server versions not starting - mainly as a result of not installing the right Java versions. Here’s a quick guide.

I’m using the MineOS application (1.0.20) on Truenas SCALE (Bluefin).

For the following Minecraft versions:

  • 1.16.5 and below use Java 8
  • 1.17.0-1.17.4 use Java 16 (but works with Java 17)
  • 1.18.0-1.20.4 use Java 17
  • 1.20.5+ use Java 21

Here’s how you install them (I’m by no means very knowledgeable in this, but this works for me):

  1. Access your MineOS Pod Shell

  2. Run apt install openjdk-#-jdk - Replace # with the Java version referenced above.
    Screenshot 2024-12-05 at 23.33.53
    (Mine is already updated)
    If this doesn’t work, run apt update and repeat.

3. Changing to different Java versions
If you are using an older server that uses an older Java version (if you are running 1.20.5+ you’re already done as it is using the newest version by default), use the following to switch Java versions:

  1. update-java-alternatives --list

  2. update-java-alternatives --set /path/to/java/version - where you replace /path/to/java/version with the path with the appropriate Java version (such as /usr/lib/jvm/java-1.8.0-openjdk-amd64)
    Screenshot 2024-12-05 at 23.41.09

  3. There won’t be an output, but you can check using java -version

  4. exit and move to the Webui to launch again. Assuming you picked the correct version, it should now launch!

Good luck!

1 Like