Unable to run gradle from CentOS 5.6. Please help

CentOS 5.6

downloaded and unzip’d to /usr/local/gradle export GRADLE_HOME=/usr/local/gradle/gradle-1.12 export JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk- echo $PATH PATH=/usr/lib/jvm/java-1.7.0-openjdk-

gradle –version Error: Could not find or load main class org.gradle.launcher.GradleMain

So, what have I missed/messed up?

ha! Figured it out. From a comment in a request from another site.

which gradle

Found that it was pointing to an old/broken version.


Removed it (it showed up in path first) and now all is well! Woot!