Flash Develop 因" 无法加载 DLL“jvm.dll” "导致无法断点调试的解决方法[转]

按照网上的写好Hello World!后,运行出错,flash中无输出。
提示错误“无法加载DLL"jvm.dll"”
卡在这进行不下去了,请大家帮助

Running process: C:\Program Files\FlashDevelop\Tools\fdbuild\fdbuild.exe "C:\Documents and Settings\Administrator\桌面\New Project\New Project.as3proj" -ipc ef5e78fd-d509-4781-a69a-d352c3afc8ae -version "4.5.1; 2.7.1" -compiler "C:\Program Files\FlashDevelop\Tools\flexsdk" -library "C:\Program Files\FlashDevelop\Library"
Building New Project
mxmlc -load-config+=obj\NewProjectConfig.xml -debug=true -incremental=true -o obj\NewProject634561146160625000
Incremental compile of 1
Loading configuration file C:\Program Files\FlashDevelop\Tools\flexsdk\frameworks\flex-config.xml
Loading configuration file C:\Documents and Settings\Administrator\桌面\New Project\obj\NewProjectConfig.xml
Files changed: 0 Files affected: 1
obj\NewProject634561146160625000 (746 bytes)
(fcsh)Build succeeded
Done(0)
Debugger startup error: System.DllNotFoundException: 无法加载 DLL“jvm.dll”: 找不到指定的模块。 (异常来自 HRESULT:0x8007007E)。
   在 net.sf.jni4net.jni.JNI.Dll.JNI_GetDefaultJavaVMInitArgs(JavaVMInitArgs* args)
   在 net.sf.jni4net.jni.JNI.Init()
   在 net.sf.jni4net.jni.JNI.CreateJavaVM(JavaVM& jvm, JNIEnv& env, Boolean attachIfExists, String[] options)
   在 net.sf.jni4net.Bridge.CreateJVM()
   在 net.sf.jni4net.Bridge.CreateJVM(BridgeSetup setup)
   在 FlashDebugger.DebuggerManager.Start(Boolean alwaysStart)
[Capturing traces with FDB]
Hello World!

 

解决方法:

从\ JAVA \ JRE6 \ bin复制msvcr71.dll 到Windows \ System32下就可以了。

http://hi.baidu.com/__%B6%C0%B9%C2%B2%D0%D4%C6__/blog/item/ef8c76decbc28645ccbf1a87.html

posted @ 2012-04-05 10:29  硕气书生  Views(2776)  Comments(0Edit  收藏  举报