Re: best way to integrate java and C code
From: Roedy Green (roedy_at_seewebsite.com)
Date: 10/15/03
- Next message: Roedy Green: "Re: best way to integrate java and C code"
- Previous message: Paul Lutus: "Re: reset issue in bufferedInputStream"
- In reply to: KC Wong: "Re: best way to integrate java and C code"
- Next in thread: Roedy Green: "Re: best way to integrate java and C code"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 15 Oct 2003 05:09:05 GMT
On Wed, 15 Oct 2003 10:26:21 +0800, "KC Wong"
<sterilize.the.spammers@killkillkill.com> wrote or quoted :
>1. JNI. You write an "interface" to the C program in Java, invoke javah on
>it which results in a C header file, then implement it to call your C
>program. Then call that "interface" in Java. You should check java.sun.com
>for documentation and tutorial, as there're much more (e.g. accessing Java
>objects, members and methods from C side, threading, invoking JVM) than what
>I've said.
for details see http://mindprod.com/jgloss/jni.html
-- Canadian Mind Products, Roedy Green. Coaching, problem solving, economical contract programming. See http://mindprod.com/jgloss/jgloss.html for The Java Glossary.
- Next message: Roedy Green: "Re: best way to integrate java and C code"
- Previous message: Paul Lutus: "Re: reset issue in bufferedInputStream"
- In reply to: KC Wong: "Re: best way to integrate java and C code"
- Next in thread: Roedy Green: "Re: best way to integrate java and C code"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|