This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I am trying to call a java method from native code (C/C++), to which i ll need the instance of JVM at Native code. but i am unable to get success regarding that issue. The scenario is like..
I have a c code running, within main() function i need to call the java method based on some conditions. when i m trying to create the JVM at main() function before the Java method call it is not even compiling successfully.
Error : createJVM.c:18: undefined reference to `JNI_CreateJavaVM'
collect2: ld returned 1 exit status
i am putting my source code here..
please help me. I am an urgent need to solve this issue...
Joined: Jul 09, 2010
I have also tried help from this link..
but could not succeed to compile my C Code.