The supplied javaHome seems to be invalid. Follow
Answered
Hi,
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:
https://drive.google.com/file/d/1SxrDwuOohKmm2gs-JxXF0MJ2coCx7H0T/view?usp=sharing
Any help will be much appreciated,
Thanks!
Please sign in to leave a comment.
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:.