问题描述
同时在Android Studio和Eclipse都在问我安装JDK 6即使JDK 8已经安装。有几个解决方法网上告诉我,改变JAVA_HOME指向JDK的8安装位置,这样做,这样既在/ usr / libexec中/ JAVA_HOME和Java的版本命令参考JDK 8安装而Android Studio和Eclipse仍然要求我安装JDK 6 。任何解决了这个问题。
Both Android Studio and Eclipse are asking me to install JDK 6 even though JDK 8 is already installed. Several workarounds online told me change the java_home to point the JDK 8 installation location, done that such that both /usr/libexec/java_home and java -version commands refer to the JDK 8 installation but Android Studio and Eclipse still asking me to install JDK 6. Anyone solved this issue.
推荐答案
Android的工作室是基于 IntelliJ IDEA的13 。该解决方案here也同样适用。刚刚从的 1.6修改的Info.plist * 的到的 1.7 * 的为我做。
Android Studio is based on Intellij Idea 13. The solution here also applies. Just modifying Info.plist from 1.6* to 1.7* did it for me.
顺便说一句,我观察到的至少是Android 0.5.5工作室使用大量内存。与Java 8它得到了2GB的非常简单的项目。随着Java 7的它仍然是坏的,但1.5GB左右发生。
Btw, I've observed that at least Android Studio 0.5.5 uses massive amounts of memory. With Java 8 it gets over 2GB for very simple projects. With Java 7 it is still bad, but takes around 1.5GB.
这篇关于使用JDK 7或更高版本有了Android Studio和Eclipse在Mac OSX的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!