LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 07-27-2004, 04:22 PM   #1
nedian123
Member
 
Registered: Jun 2004
Location: PAKISTAN
Posts: 46

Rep: Reputation: 15
Regarding interfacing of C with JAVA thru JNI


hi,
Actually i have to use a function in 'C' thru JAVA, how will we use it thru JNI.
Kindly give the answer with an example..........................
Waiting for reply
 
Old 07-27-2004, 11:07 PM   #2
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
go here and download examples for vol 2 advanced features
 
Old 07-28-2004, 02:12 AM   #3
johnMG
Member
 
Registered: Jul 2003
Location: CT, USA
Distribution: Debian Sarge (server), Etch (work/home)
Posts: 601

Rep: Reputation: 32
I think if you use GCJ you can use CNI instead of JNI. Might be easier. Dunno.
 
Old 07-28-2004, 02:39 PM   #4
csfalcon
Member
 
Registered: Jun 2004
Location: MD
Distribution: Fedora Core
Posts: 269

Rep: Reputation: 31
This is the tutorial I used to learn JNI, many examples in there.

http://java.sun.com/docs/books/tutorial/native1.1/
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
JAVA JNI program to access shared library sabliny Programming 3 11-17-2005 05:13 PM
print problem with Java and C JNI trutnev Programming 0 06-20-2005 11:28 AM
interfacing java with macromedia flash ashirazi Programming 8 12-07-2004 07:55 AM
how to get the *.dll or *.so by applying JNI under the java, c++ and fortran stiphon Programming 3 06-04-2004 05:32 AM
core dump while executing a c function from java using JNI kaustubh Linux - Newbie 0 05-25-2002 02:11 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 03:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration