First and foremost, see the Forge documentation for getting an environment setup: https://docs.minecraftforge.net/en/latest/gettingstarted/ (some of it is also noted ...