I'm trying to do a basic JNI program for "HelloWorld ".Heres where i get stuck;
I've come upto the step where you have to create the DLL after compiling the HelloWorld.c file. I'm using MS VC++.Now the DLL builds fine without errors,however in the "GUIDE" at section "2.6 Compile the C Source and Create a Native Library", how and where am I supposed to do these steps (cl -Ic:\java\include -Ic:\java\include\win32
-MD -LD HelloWorld.c -FeHelloWorld.dll )
This is the only reason i'm getting errors while running the code.
Please help guys:huh: :huh:
I've come upto the step where you have to create the DLL after compiling the HelloWorld.c file. I'm using MS VC++.Now the DLL builds fine without errors,however in the "GUIDE" at section "2.6 Compile the C Source and Create a Native Library", how and where am I supposed to do these steps (cl -Ic:\java\include -Ic:\java\include\win32
-MD -LD HelloWorld.c -FeHelloWorld.dll )
This is the only reason i'm getting errors while running the code.
Please help guys:huh: :huh: