Can't load jvm on W7x64
803556Oct 6 2010 — edited Oct 7 2010Not sure if this is the best forum, but I'm hoping that someone here has run into this same problem...
My Win32/MFC application uses some java code via the JNI interface. I look in the Registry to find the jre path (RuntimeLib) and then I use ::LoadLibrary to load the jvm. On XP and W7x32 this works. However, on W7x64, even though I correctly find the path to the jvm, LoadLibrary fails with err=126, cannot find component. I assume this has something to do with Wow64 but I don't know what. Any help is greatly appreciated.