MineOS under Truenas cant run 1.18 nor 1.18.1

i am running mineos as a plugin in truenas, but cant run the server under 1.18 nor 1.18.1. when i change back to 1.17.1 it is running. tried updating everything but doesnt work. please help

I am unfamiliar with the TrueNAS plugin although this issue is caused by Minecraft 1.18+ requiring Java Runtime Environment 17 to run. Without knowing more about the TrueNAS plugin I am not sure how to fix this.

When you have the jail installed, go to the jail menu item, then to the jail, then shell and install openjdk17.

pkg update
pkg install openjdk17

then you should be all good.

Thanks adamz01h for this solution that works.

But after installation I have a message :

If you have not done it yet, please do the following:

        mount -t fdescfs fdesc /dev/fd
        mount -t procfs proc /proc

To make it permanent, you need the following lines in /etc/fstab:

        fdesc   /dev/fd         fdescfs         rw      0       0
        proc    /proc           procfs          rw      0       0

I’m didn’t fond fstab in /etc. Sure I’m not familiar with Freebsd. Have you an idea ?

Many thanks for help
Best regards
Lalsacien