Forge Server wont start

Because the java path will be set to the java version that ships with your distro meaning that its most likely invalid against the Minecraft version you want to use if you are using the latest turnkey iso which is what java 17? and to my knowledge java 17 doesn’t work with anything except the latest minecraft? idk don’t play anything past 1.7.10 so idk without looking it up.

Do what ElPres suggested and there is a few threads that are going over this topic atm. I am basically asking for help here Java binary flag but if you read through it it is basically also showing the steps to setup java for any minecraft version all you need to do is find out what java versions you need.