Whatever script you're using is broken/feeding wring info.
Download the wanted Forge version manually.
You can find the download on the 1.14 page, which is on the left navigation menu of the files page.
https://github.com/minecraftforge/minecraftforge/commit/746d702058b03d2c098f17b14bc78b4b42cc7dc0
Now you all can stop with your damn hacks and instead use a fixed version.
I don't know when it degraded but it WAS working.
And next time, why don't you guys actually HELP out and figure out the damn issue instead of spreading hack fixes.
Ignore everything in the build folder. Those are temporary files used in the build process.
The full MC code is linked to the MC library in your IDE like every other source for a library.
Stop telling people how to do hacky things.
Forge's data pack SHOULD be directly between vanilla's and modder's so modders should be able to override anything Forge ships just like they can override vanilla.
If this is not the case, then we may need to backport the changes from 1.15.2, as I know this works on the 1.15 branch.
If you are getting this error then the minecraft source is being compiled with Java 9+
There is no other possible option.
You can add standard java code to dump the current jvm version in the build process if you want to.
But as I said, just update your damn version of forge and itll be fixed no matter what version of java you use to compile. As I added a workaround for this specific thing. https://github.com/MinecraftForge/ForgeFlower/commit/4ac0f021a09f3f4e77da2f80f37f19409979b915
https://github.com/MinecraftForge/MinecraftForge/commit/5a552b9f8da0af40f2becc5b1657c537cb9d3bb3
Simple math tells us that J11, and J14 are indeed >= J9. So it'll have the same issue.
And the solution will be the same.
Either way, update to the latest Forge version I added a workaround for java's stupidness.
That is indeed the case, IF you download from a 3rd party site, or the 1.5.2 page.
However if you download from the official site, on the 1.15.2 page you will get 1.15.2.
https://files.minecraftforge.net/
Stop downloading from 3rd party sites.
The config system for older versions was removed as it needs to be re-written, however, the version in which that screenshot is running both has a working gui system if the mod itself enables it, and is so old that it is no longer supported on the forum. So.. thread locked.