I am trying to plug-in android in to my laptop Configuration: vista OS, 64 bit and RAM 4GB I install the Eclipse, JDK 7 and installer_r18_windows.exe file from android site. when I try to run the windows installer it shows the message
我正在尝试将android插入到我的笔记本电脑配置中:vista OS, 64位和RAM 4GB,我安装了Eclipse、JDK 7和installer_r18_windows。来自android站点的exe文件。当我尝试运行windows安装程序时,它会显示消息
Error:Failed to find the java version for C:\Windows\System32\java.exe: the system cannot find the file specified. and at last if you believe you have a JDK installed and it was not properly recognized,simply set an environment variable JAVA_HOME to point to it
错误:无法找到C:\Windows\System32\java.的java版本系统无法找到指定的文件。最后,如果您相信您已经安装了JDK,并且它没有得到正确的识别,那么只需设置一个环境变量JAVA_HOME来指向它。
I don't know how to set an environment variable. How to solve this problem ?
我不知道如何设置环境变量。如何解决这个问题?
2 个解决方案
#1
11
Step 1 Make sure You have installed Java 64 bit version
步骤1确保您已经安装了Java 64位版本
Step2 copy c:\windows\system32\java.exe to c:\windows\syswow64
步骤2副本c:\ windows \ system32系统\ java。exe到c:\ windows \ syswow64
And last to learn How to set Environment Variables here you go
最后要学习如何设置环境变量
http://java.com/en/download/help/path.xml
http://java.com/en/download/help/path.xml
Last Thing
最后一件事
If you are installing 32bit java version Installation path will be
如果您正在安装32bit的java版本,安装路径将是
C:\Program Files (x86)\Java\jdk1.6.0_21\bin
C:\Program Files (x86)\Java\ jdk1.6.0_21 \ bin
If you are installing 64but java version Installation path will be
如果您正在安装64but java version安装路径将是
C:\Program Files\Java\jdk1.6.0_21\bin
C:\Program Files\Java\ jdk1.6.0_21 \ bin
So set this path in Environment variables.
在环境变量中设置路径。
#2
0
Check the following link which explain how you can set the environment variable JAVA_HOME
:
检查以下链接,解释如何设置环境变量JAVA_HOME:
http://wso2.org/project/wsas/java/1.1/docs/setting-java-home.html
http://wso2.org/project/wsas/java/1.1/docs/setting-java-home.html
#1
11
Step 1 Make sure You have installed Java 64 bit version
步骤1确保您已经安装了Java 64位版本
Step2 copy c:\windows\system32\java.exe to c:\windows\syswow64
步骤2副本c:\ windows \ system32系统\ java。exe到c:\ windows \ syswow64
And last to learn How to set Environment Variables here you go
最后要学习如何设置环境变量
http://java.com/en/download/help/path.xml
http://java.com/en/download/help/path.xml
Last Thing
最后一件事
If you are installing 32bit java version Installation path will be
如果您正在安装32bit的java版本,安装路径将是
C:\Program Files (x86)\Java\jdk1.6.0_21\bin
C:\Program Files (x86)\Java\ jdk1.6.0_21 \ bin
If you are installing 64but java version Installation path will be
如果您正在安装64but java version安装路径将是
C:\Program Files\Java\jdk1.6.0_21\bin
C:\Program Files\Java\ jdk1.6.0_21 \ bin
So set this path in Environment variables.
在环境变量中设置路径。
#2
0
Check the following link which explain how you can set the environment variable JAVA_HOME
:
检查以下链接,解释如何设置环境变量JAVA_HOME:
http://wso2.org/project/wsas/java/1.1/docs/setting-java-home.html
http://wso2.org/project/wsas/java/1.1/docs/setting-java-home.html