Launch server with java 1.8

I have multiple java versions installed on my server. How to specify that I want to launch server with java 1.8 / 8? I’m trying to start nomifactory server. I tried to specify path tk it myself, it did something but still 1 error. I can’t find much online. Some screens provided. Thank you.
IMG_2128.png
IMG_2126.png
IMG_2125.png
IMG_2127.png
IMG_2123.png
Was this page helpful?