0

This is really my first attempt at getting started in developing Android. I am using IntelliJ IDEA 15.0.4. I've tried looking for the solution for my problem, but I can't seem to find the exact problem that I am dealing with.

I keep getting the following error.

Error:The supplied javaHome seems to be invalid. I cannot find the java executable. Tried location: C:\Program Files (x86)\Android\android-sdk\bin\java.exe

Error:The supplied javaHome seems to be invalid. I cannot find the java executable. Tried location: C:\Program Files (x86)\Android\android-sdk\bin\java.exe

I'm really not sure where to start. How can I go about fixing this?

xponent
  • 151
  • 2
  • 2
  • 10

1 Answers1

-1

You may be running the 32-bit version instead of the 64-bit version. When I upgraded to IntelliJ 2016, it automatically put shortcuts to the 32-bit version on my desktop. I had to change the shortcut to point to the 64-bit executable.

See IntelliJ Gradle Plugin: The supplied javaHome seems to be invalid

Community
  • 1
  • 1
Russ
  • 623
  • 8
  • 14