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!

Version of jvm.dll compatible with 64-bit development on Visual Studio 2013?

f6423c81-1b63-451a-b6d8-60baa37f195eFeb 27 2015 — edited Feb 28 2015

Hi.  I am building a 64-bit C++ application under Visual Studio 2013. I am using jvm.dll to call Java methods from within the application.  The issue is that the version of jvm.dll that is distributed with Java 7 and Java 8 are compiled with Visual Studio 2010 (and thus rely on the msvcr100.dll runtime library).  This makes it very dangerous to use with a Visual Studio 2013 application which uses msvcr120.dll (mixing runtime libraries is a very big no-no).  I am seeing random memory errors as a result, at the JNI interface level.

Is there any way to get a version of jvm.dll that is compiled with Visual Studio 2013 and is thus dependent on msvcr120.dll?

Thanks,

Dan

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 27 2015
Added on Feb 27 2015
0 comments
1,587 views