Issues with compileJava

Hi guys,
I’m beginner with gradle and I want to create my first app using gradle and java. But when I run gradle in command line ( I write gradle myTask), My command line show this error : Execution failed for task ‘:compileJava’. I tried to add JDK to my System variables and add compile files(“${[‘java.home’]}/…/lib/tools.jar”) to my file but the problem stills the same.
Here is my :

apply plugin: ‘java’
apply plugin: ‘eclipse’
repositories {
maven {
url ‘
task hello(type: Test)
dependencies {
compile “io.vertx:vertx-core:3.2.1”
compile “io.vertx:vertx-unit:3.2.1”
compile “io.vertx:vertx-web:3.2.1”
compile “io.vertx:vertx-rx-java:3.2.1”
compile “org.slf4j:slf4j-api:1.7.13”

Any idea ?