Android的工作室 - 没有JVM安装找到 [英] Android Studio - No JVM Installation found

查看:288
本文介绍了Android的工作室 - 没有JVM安装找到的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在想开机的问题 Android的工作室

当我尝试安装我得到这个错误后推出来:

When I try to launch it after installation I'm getting this error:

没有JVM安装中。请安装64位JDK。

我的当前系统规范:

操作系统: 8.0的Windows 64位版本的
安装JDK: JDK 1.8.0

Operating System: Windows 8.0 64 bit version
JDK installed: JDK 1.8.0

我曾尝试:

我已经试过了什么报告错误,以及在大部分的解决方案,在环境变量 JDK_HOME 变量设置为我的JDK路径(64位版本)即 C:\ Program Files文件\的Java \ jdk1.8.0_05

I have tried what was reported in the error, and also in most of the solutions to set the JDK_HOME variable in environment variables to my JDK path (64 bit version) i.e. C:\Program Files\Java\jdk1.8.0_05

*我也试图重新启动系统,以防万一来测试环境变量没有工作没有重新启动

我已经看到了这些解决方案和可靠的,但他们没有工作,从而为任何这些重复的不标记它:
<一href="http://stackoverflow.com/questions/16574189/android-studio-installation-on-windows-7-fails-no-jdk-found">Android在Windows 7 Studio安装失败,没有JDK发现
<一href="http://stackoverflow.com/questions/20033231/with-android-studio-no-jvm-found-java-home-has-been-set">With机器人工作室没有JVM发现,JAVA_HOME已设置
<一href="http://stackoverflow.com/questions/16596520/android-studio-start-fails-on-windows-8-64bit">Android在Windows 8 64位工作室启动失败
<一href="http://stackoverflow.com/questions/16574544/android-studio-does-not-launch-after-installation">Android安装后Studio不启动

I have seen these solutions and tried but none of them works, so don't mark it as a duplicate of any of these:
Android Studio installation on Windows 7 fails, no JDK found
With android studio no jvm found, JAVA_HOME has been set
Android Studio start fails on Windows 8 64bit
Android Studio does not launch after installation

下面是CMD输出Java版本:

Here is the cmd output for java version:

推荐答案

我有同样的问题。我试图将所有类型的路径,但毫无效果。所以我不得不做一些肮脏的修补程序。与此唯一的问题是,它会打开一个空白的命令行窗口。

I had the same problem. I tried setting all kind of paths but nothing worked. So I had to do some dirty fix. The only problem with this is that it opens a blank command line window.

我做了以下,使其工作。

I did the following to make it work.

  • 转到了AndroidStudio安装文件夹。
  • 转到文件夹,然后在文本编辑器中打开 studio.bat
  • 添加设置JAVA_HOME = C:\ Program Files文件\ Java2的\ jdk1.8.0 //你的java的ECHO行之后的路径
  • 转到启动 - > 所有节目 - > Android的工作室 - >
  • 右键点击 Android的工作室,点击属性
  • 您将看到目标类似&LT;安装路径&GT;机器人工作室\ BIN \ studio64.exe
  • 将其更改为&LT;安装路径&GT;机器人工作室\ BIN \ studio.bat
  • goto the AndroidStudio installation folder.
  • goto bin folder and open studio.bat in text editor
  • add set JAVA_HOME=C:\Program Files\Java2\jdk1.8.0//your java path after the ECHO line.
  • goto Start -> All Programmes -> Android Studio ->
  • right click on Android Studio and click on properties.
  • You will see the Target something like <installation path>android-studio\bin\studio64.exe
  • change it to <installation path>android-studio\bin\studio.bat

现在,您可以通过从菜单中单击它来访问它。

Now you can access it by clicking it from the menu.

注意:我试了一下,8,它的工作原理

Note : I tried it with 8, It works.

这篇关于Android的工作室 - 没有JVM安装找到的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆