Gradle installation failing


I am trying to install Gradle 2.3 and below is my environment variables in the bash profile,


export JAVA_HOME=/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home export GRADLE_HOME=Users/dharitha/Desktop/gradle-2.3 export PATH=$GRADLE_HOME/bin:$PATH but i am unable to execute gradle , when i execute gradle -v it says gradle command not found.

pls help me to fix this issue. and check my bash profile content above, and let me know war is wrong.

you should use underscores : JAVA_HOME and GRADLE_HOME! and your JAVA_HOME should also be in PATH.

And your “GRADLE_HOME” value should begin with a forward slash.

Hi David/carl,

Thanks for the reply. It really helped me a lot, i worked well, Gradle is now working for me.

Thx a ton to both of you.

Thx, D,Haritha