Freenas Jail and openhab

Hello, im new here but i hope that the post is on the right topic.
Can anyone help me or maybe have anyone the same Problem
How can i install openhab in freenas what is the Best way.
Jail
Docker VM
Linux VM
?

Are you running freenas on linux?

If so you should be able to just install using the package manager.