Wrong JDK version returned by compileJava toolChain

The JDK string is hardcoded because we haven’t spent much time on cross compilation. I imagine it’ll change. I believe we need the tools.jar which is only available with the JDK. What does gradle -version tell you?