Haven't touch anything. used the forge installer which extracted the forge-universal.jar, the MC-server1.12.2 and libraries.
Then launched the .jar using a .bat file which has the following line inside.
And i get that error code afterwards. Not touch any jar or added any mod.