Re: JNI DLL VC++
From: sp (spiazi67_at_netscape.net)
Date: 09/28/04
- Next message: Ann: "Re: JNI DLL VC++"
- Previous message: Mike Schilling: "Re: grassfire algorithm in java"
- In reply to: Ann: "JNI DLL VC++"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 28 Sep 2004 18:12:48 GMT
an you explain the error message?
That is, you can't compile with VC++?
Have you set the LIB and INCLUDE ?
in VC++:
Tools->Options..
then appear a tabbed windows.
Click on Directories tab.
"Show directory for": Include file
and then Add:
<path_of_your_jdk>\jdk\Include
and
<path_of_your_jdk>\jdk\Include\win32
Then switch the combo "Show directory for" to Library files
and Add:
<path_of_your_jdk>\jdk\Lib
Then recompile.
"Ann" <javauser2004@hotmail.com> ha scritto nel messaggio
news:2e0fa886.0409271500.5dfe16db@posting.google.com...
> I am working on the helloworld JNI program. I am using VC++ 6.0 to
> generate a dll.
> Are there any particular settings that I should take care of to
> generate the dll.
> I have included jni.h and helloworld.h in the vc++ project and have
> also copied the .h files in the include directory of VC++.
>
> However I am not able to build the .c file.
> I am using JDK1.5
>
> Please suggest a solution...
>
> Thank You,
> Ann
- Next message: Ann: "Re: JNI DLL VC++"
- Previous message: Mike Schilling: "Re: grassfire algorithm in java"
- In reply to: Ann: "JNI DLL VC++"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|