aspose file tools*
The moose likes Java in General and the fly likes How to create dll in JNI  ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "How to create dll in JNI  ?" Watch "How to create dll in JNI  ?" New topic
Author

How to create dll in JNI ?

Srinivasa Vallabha
Greenhorn

Joined: Mar 08, 2001
Posts: 15
Hi All,
I want to work on JNI, so I gone thru the Sun's JNI tutorial.....but according to this we need Microsoft C/C++ or VC++ to work. Is this mandatory ? Can't we work with Borland or Turbo C/C++ ?
Please help me, if possible give me some suggestion or some site addresses.
Srinivasa Vallabha
Barry Andrews
Ranch Hand

Joined: Sep 05, 2000
Posts: 523

Not sure, but it seems to me that as long as it is ANSI standard, any C compiler will do.

Barry
Srinivasa Vallabha
Greenhorn

Joined: Mar 08, 2001
Posts: 15
Hi Barry Andrews,
Thankx for your concern about my question, but when I gone thru that Sun's tutorial, while creating DLL files for the native C/C++ file we need to use some command like
c:\> CL -LD .......
but this CL.exe file doesnot exist in Borland's or Turbo C/C++.
So how can we create DLL files which has to be called from Java layer.
Please help me.
with regards
Srinivasa Vallabha
 
 
subject: How to create dll in JNI ?