So I recently upgraded from Java 7 to Java 8, when I opened Android Studio, the below message popped up Failed to complete Gradle execution.Supplied JAVA_HOME is not a valid folder. You supplied /usr/lib/jvm/java-7-oracle I was like, “what the heck!” since I already had changed my JAVA_HOME environment variable…
Set Up JAVA_HOME in Linux
I recently upgraded to Linux Mint 17 “Qiana” and since I did a clean install had to re-configure everything, but anyways don’t want to bore you with my stories. Here is how you set up JAVA_HOME in Linux Mint or any other Linux distribution.