FlashDevelop 4: DllNotFoundException 'jvm.dll' on x64 Win 7
Got this error in output when trying to run debugger: "System.DllNotFoundException: Unable to load DLL 'jvm.dll': The specified module could not be found."... У вас тоже эта ошибка/проблема?
Build succeeded Done(0) Debugger startup error: System.TypeInitializationException: The type initializer for 'net.sf.jni4net.jni.JNI' threw an exception. ---> System.DllNotFoundException: Unable to load DLL 'jvm.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E) at net.sf.jni4net.jni.JNI.Dll.JNI_GetDefaultJavaVMInitArgs(JavaVMInitArgs* args) at net.sf.jni4net.jni.JNI.Init() at net.sf.jni4net.jni.JNI..cctor() --- End of inner exception stack trace --- at net.sf.jni4net.jni.JNI.CreateJavaVM(JavaVM& jvm, JNIEnv& env, Boolean attachIfExists, String[] options) at net.sf.jni4net.Bridge.CreateJVM() at net.sf.jni4net.Bridge.CreateJVM(BridgeSetup setup) at FlashDebugger.DebuggerManager.Start() [Capturing traces with FDB]
Googling about this problem tells that many users have this in JDK 6 solved with msvcr71.dll, but not for me :(
And it's because I have latest JDK 7 which needs msvcr100.dll, so
just find this DLL in "jre7/bin" directory and copy to FlashDevelop.exe folder.
For thos who had BadImage problem while building on x64 system, don't forget, that now FD4 uses x32 component, so set JAVA_HOME to point to x32 version of JDK.
