Running 1.7.10 and 1.20 server at the same time

I run a public 1.7.10 modded server, but I also want to setup a private 1.20 server on the same computer. How do I have them run at the same time when they require different Java versions?
Was this page helpful?