The supplied javaHome seems to be invalid.



I'm running Ubunutu 18.04 and I have the following Intellij version:

I'm trying to get my first steps in Android and am having trouble starting an Android project.

I encounter the following problem: 

The supplied javaHome seems to be invalid. I cannot find the java executable. Tried location: /home/yoav/Android/Sdk/bin/java

I've tried searching online and on the forums here for a solution but couldn't find one.

Here is a link to the full log file:


Any help will be much appreciated,



1 comment
Comment actions Permalink

Make sure you have installed 64bit JDK on the system and set JAVA_HOME environment variable, pointing to this JDK home.

Also make sure the modul's SDK is set to this JDK in Project Structure | Modules | <module_name> | Dependencies tab | Module SDK:.


Please sign in to leave a comment.