Minecraft Forge error message in CMD?

Gu
1

I have a problem with the Forge setup, every time I enter "gradlew setupDecompComponent eclipse" in cmd, then I get the message that the "BUILD" failed with this reasoning: "The setupDecompWorkspace only wants to work with Java 7! This is fixed in ForgeGradle 1.2 ".

At the beginning I also entered "set PATH" (Java jre7 Link) "with jre7.0!

Why is that? I have not found a solution after a long Google…

sn

According to the reasoning that works only if you use Java 7 ,. Can you even check if you use Java 7 or ne other Java version: / otherwise I would not know what it could be>