Java version determination error

I just installed Android studio 1.5 on Ubuntu 14.04. I created a new project and received the following error:

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

My / usr / lib / JVM / contains:

java-1.5.0-gcj            java-7-oracle  java-gcj
java-1.5.0-gcj-4.8-amd64  java-8-oracle  java-gcj-4.8

The JDK location of the project structure is set to / usr / lib / JVM / java-1.5.0-gcj. Can you still give it to me? How should I know?

Thank you very much for your help!

resolvent:

I solved my problem by changing the JDK to / usr / lib / JVM / java-8-oracle. I still don't know why it works or why it should have been like this. Sorry, this problem

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>