Minecraft 1.7.10 installing forgeSrc error?

I have the newest JavaJDK installed and pathed correctly but when i run the gradlew with the
gradlew setupDecompWorkspace eclipse i get this error

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':makeStart'.
> Can't find System Java Compiler. Ensure that you have installed a JDK (not ju
st a JRE) and configured your JAVA_HOME system variable to point to the accordin
g directory.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug
option to get more log output.

BUILD FAILED

Total time: 24.197 secs

Added (1). Yes also i forgot to mention that i'm doing this on a Microsoft surface pro, while my computer is being looked at.

Are you using a premuim account