Same error in the build plugin, it is looking for Java compiler in the wrong location. To start with it should be $JAVA_HOME, but it is looking in the buildAgent/temp/agentTmp/agent-sbt/bin folder, which should really just be a classpath arg.
Notes: this is on OSX, runs fine on Linux agent.