Error occurred during initialzation of VM的解决办法

今天安装Android Studio后,启动时(运行JAVA)时出现错误:

Error occurred during initialzation of VM
java/lang/ClassNotFoundException:error in opening JAR file<zip file is empty> C:\Program Files\Java\jdk1.7.0_21\jre\lib\rt.jar
查了一下,问题出在JDK没安装好,重新下载JDK安装就搞定了。

http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html

你可能感兴趣的:(java,jdk,androidstudio)