Don’t think its possible been trying all day to get forge and bmc4 working until Ai said the files are actively blocked as soon as you use the mod folder it wont run delete the mod folder off you go vanilla server you can get very light and basic Minecraft servers going but forge wont work, unless someone can say they have got it going but I don’t think so
I don’t have java 25 as an option and I tried following the link you sent but that didn’t work either. It says that getamp installJava doesn’t exist as a command.
brlinde@siegeofmandalore:~$ sudo su -
[sudo] password for brlinde:
root@siegeofmandalore:~# getamp installJava
No such command or flag: installJava
Run ‘getamp help’ for the list of available commands.
Apologies, apparently the devs have disabled the scripts temporarily in the most recent versions of AMP. You can still install Java 25 yourself; follow the instructions on Latest Releases | Adoptium