Skip to Main Content

Java HotSpot Virtual Machine

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Can't load jvm on W7x64

803556Oct 6 2010 — edited Oct 7 2010
Not 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.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 4 2010
Added on Oct 6 2010
4 comments
201 views