2

I'm trying to use android studio on my pc with Linux Mint 64 bit. I've installed java-8-oracle following this: Error to run Android Studio Now, when I start a new project, it returns a message to me with:

"Error:Could not determine Java version using executable /usr/lib/jvm/java-1.5.0-gcj-4.8-amd64/bin/java."

Now, I'm following this: Java version determination error

but at the moment I can't fix it... Can you help me? Many thanks!

Community
  • 1
  • 1
minimanimo
  • 35
  • 1
  • 2
  • 9

2 Answers2

0

Faced this problem. Modified path to /usr/lib/jvm/java-8-oracle through File -> Project Structure -> JDK location

Error message disappeared

Puneet
  • 1
  • 2
-1

My enviroment text didnt allow me change JAVA_HOME location .For this reason I went to file->project structure and changed my jdk directory and it worked .By the way I am using XUbuntu 14.04.

sezin
  • 1