1

I have latest version of Manjaro 64 bit, latest version of Oracle's JDk and Latest version of Android studio. Everything is up to date on my system.

  • Android studio is complaining about OpenJDK

enter image description here

  • Although I have Oracle's JDK, not OpenJDK

enter image description here

  • And it's configured correctly

enter image description here

Why?

  • What is the output of java -version? – mjturner Jul 26 '15 at 20:13
  • @mjturner you're right wasn't set as default, had to do sudo archlinux-java set java-8-jdk kinda strange but seems it happens. Thanks – Lynob Jul 26 '15 at 20:34
  • No problem. I'll add that as a suggested answer then – mjturner Jul 26 '15 at 20:36
2

Check that your default JDK is the Oracle JDK and not OpenJDK. Many distributions ship with OpenJDK by default due to licensing issues and even if you install the Oracle JDK it might not then be the default. Running java -version from a terminal should tell you which is the default.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.