Java Sample code Build fail

buildship

(Rajeesh Rarankurissi) #1

Hi,

I am getting an error while running gradle
as below

Compiling with JDK Java compiler API.
:compileJava FAILED
:compileJava (Thread[main,5,main]) completed. Took 0.499 secs.

My JDK

java version "1.7.0_79"
OpenJDK Runtime Environment (fedora-2.5.5.0.fc20-i386 u79-b14)
OpenJDK Server VM (build 24.79-b02, mixed mode)

and Gradle version

Gradle 2.12

Build time: 2016-03-14 08:32:03 UTC
Build number: none
Revision: b29fbb64ad6b068cb3f05f7e40dc670472129bc0

Groovy: 2.4.4
Ant: Apache Antâ„¢ version 1.9.3 compiled on December 23 2013
JVM: 1.7.0_79 (Oracle Corporation 24.79-b02)
OS: Linux 3.11.10-301.fc20.i686 i386

Thanks
Rajeesh