Export MS Visual Studio environment with Windows executable file -
i've developed jni application in ms visual studio calls java methods within c++ file. necessary files, such jvm.lib , jvm.dll, have been included in "debbuging->environment", "linker->input->additional dependencies" , linker->general->additional library directories configuration properties. application runs fine inside visual studio, when running .exe file directly, complains jvm.dll missing. i've copied file c:\program files\java\jdk1.6.0_45\jre\bin\server vs project executable resides, receive error the application unable start correctly (0x000007b). how can reference third party libraries in .exe file? preferably want export environment paths , dependencies during vs build process.
regards,
chris
windows 7 64bit
java jdk 1.6.45 64bit
ms visual studio 2012
the application unable start correctly (0x000007b) error, in context, typically caused building 32 bits exe , trying run against 64 bits dll.
check files indeed 64 bits.
Comments
Post a Comment