Unable to start java.exe: 系统找不到指定的文件。
来源:互联网 发布:联合国贸易数据库 编辑:程序博客网 时间:2024/06/06 09:38
flashdevelop本来是可以使用的,但是为了使用android开发,我的是64位的,就把32的java sdk改成64的,flashdevelop调试时出现以下错误
Unable to start java.exe: 系统找不到指定的文件。
java.home=C:\Program Files\Java\jre8
解决方法
1、下载JRE环境安装,并记录下安装位置,如:C:\Program Files\Java\jre6
2、在Flex SDK所在目录Flex4.0.0\bin\找到jvm.config文件。
3、找到 java.home= 这一行 改为 java.home=C:\Program Files\Java\jre6 具体按照你本机java环境安装路径填写,保存jvm.config文件。
4、重启FlashDevelop,问题解决
################################################################################
##
## ADOBE SYSTEMS INCORPORATED
## Copyright 2007 Adobe Systems Incorporated
## All Rights Reserved.
##
## NOTICE: Adobe permits you to use, modify, and distribute this file
## in accordance with the terms of the license agreement accompanying it.
##
################################################################################
#
# VM configuration
#
# Where to find JVM, if {java.home}/jre exists then that JVM is used
# if not then it must be the path to the JRE itself
#
# If no java.home is specified a VM is located by looking in these places in this
# order:
#
# 1) JAVA_HOME environment variables (same rules as java.home above)
# 2) bin directory for java.dll (windows) or lib/<ARCH>/libjava.so (unix)
# 3) ../jre
# 4) registry (windows only)
#
java.home=
# Arguments to VM
java.args=-Xmx384m -Dsun.io.useCanonCaches=false
# Environment variables we care about, whitespace-separated
改为下面
################################################################################
##
## ADOBE SYSTEMS INCORPORATED
## Copyright 2007 Adobe Systems Incorporated
## All Rights Reserved.
##
## NOTICE: Adobe permits you to use, modify, and distribute this file
## in accordance with the terms of the license agreement accompanying it.
##
################################################################################
#
# VM configuration
#
# Where to find JVM, if {java.home}/jre exists then that JVM is used
# if not then it must be the path to the JRE itself
#
# If no java.home is specified a VM is located by looking in these places in this
# order:
#
# 1) JAVA_HOME environment variables (same rules as java.home above)
# 2) bin directory for java.dll (windows) or lib/<ARCH>/libjava.so (unix)
# 3) ../jre
# 4) registry (windows only)
#
java.home=C:\Program Files\Java\jre8
# Arguments to VM
java.args=-Xmx384m -Dsun.io.useCanonCaches=false
# Environment variables we care about, whitespace-separated
大家看到
java.home=这里是空的,加上去成了java.home=C:\Program Files\Java\jre8重启flashdevelop后就可使用。
- Unable to start java.exe: 系统找不到指定的文件。
- unable to start program'F;\...\...\*.exe'系统找不到指定的文件
- Uable to start program '%CSIDL_PROGRAM_FILES%/Lighting/Lighting.exe'.系统找不到指定的文件。
- serial0: Unable to launch virtual printer proxy: 系统找不到指定的文件
- Unable to open kernel device "\\.\Global\vmx86": 系统找不到指定的文件
- Unable to open kernel device "\\.\Gloabal\vmx86":系统找不到指定的文件
- TRACKER : error TRK0005: Failed to locate: "CL.exe". 系统找不到指定的文件。
- Windows 64位系统中安装Android SDK“系统找不到指定的文件Java.exe”解决方法
- 无法启动程序 系统找不到指定的exe文件
- VMware Unable to open kernel device "\\.\VMCIDev\VMX": 系统找不到指定的文件. Did you reboot after Module Devi
- unable to start xxx.exe
- unable to start program exe
- net start mongodb发生系统错误2 系统找不到指定的文件
- 安装Android Sdk-JDK not found系统找不到指定的文件Java.exe JDK已安装报错 解决方法
- TortoiseSVN提交commit提示Unable to create pristine install stream.系统找不到指定的路径
- SVN "Commit failed (details follow) Unable to create pristine install stream 系统找不到指定的路径"
- 系统找不到指定的文件
- 系统找不到指定的文件
- Exception in thread "main" java.lang.UnsupportedClassVersionError:
- ResultSet用法集锦
- SqlServer创建数据表
- 来北京培训java的第八天
- 指针
- Unable to start java.exe: 系统找不到指定的文件。
- 浅谈信息安全
- 求1-10000之间的水仙花数
- USACO—1.1gift
- <UNIX环境高级编程> 第三版 apue.h 配置问题解决方法
- java序列化及反序列化
- 内核启动卡在Uncompressing Linux..... done, booting the kernel
- 造成segmentation fault的可能原因分析
- 【译】Java面试参考指南(一)