Just gonna reply here saying that i am having the same problems going on for now, it might be that MineOS has an older java i think but i have no idea how to update it because when i try to run the server from the command thingy it says this:
update: i found how to update java MineOS is using java 11 but for 1.17 you need Java 16 which is linked below