I'm not quite sure what you're asking.
If you are asking if the installer you have can install servers for the versions you listed, NO.
If you are asking if there are installers for those versions, possibly, I'm not sure how long ago the installer framework was made.
Is it the same installer you got that log from?
Because that is a 1.11.2 version, each forge installer only installs one version, you cannot use a 1.11.2 installer to install a 1.12.2 server.
Run the installer again after renaming the vanilla server, the installer will take a quick look at the jar and skip the step that appears to be giving you issues.
Forge requires Java 8, from there it's just a recommendation to use the latest, I'm not completely clear on what will force gradle to refresh itself from the environment variables, but it might require a reboot to make sure.
You need to use Java 8, if you need Java 10 for something else Gradle will use whatever Java version you point to with the JAVA_HOME environment variable. (i.e. my JAVA_HOME variable is "D:\Program Files\Java\jdk1.8.0_152")
Please use a site like pastebin or GitHub's Gist, it's easier for people trying to help you when you use a site that will display the file rather than offering "Free or Premium download?"
1.7.10 is no longer supported on this forum.
If you are part of the TEALS-K12 team I found through a quick google search I highly suggest the project be updated for a more recent version of Minecraft.
Google Translate turns it into an error I'm more familiar with, "An existing connection was forcibly closed by the remote host" the server log will be the one that has a chance of telling us why the connection was forcibly closed.