chenxf@chenxf-PC:~$ gradle --version
ERROR: JAVA_HOME is settoan invalid directory: /usr/lib/jvm/default-java
Please setthe JAVA_HOME variablein your environment to match the
location of your Java installation.
chenxf@chenxf-PC:~$ gradle -version
------------------------------------------------------------
Gradle 1.4
------------------------------------------------------------
Gradle build time: 2013年9月9日 星期一 下午08时44分25秒 UTC
Groovy: 1.8.6
Ant: Apache Ant(TM) version 1.9.3 compiled on April 8 2014
Ivy: non official version
JVM: 1.8.0_101 (Oracle Corporation 25.101-b13)
OS: Linux 4.2.0-34-generic amd64