Results 1 to 5 of 5
Thread: call c++ from java
- 04-29-2012, 08:00 PM #1
Member
- Join Date
- Apr 2012
- Posts
- 3
- Rep Power
- 0
-
Re: call c++ from java
This is an extremely over-general question. Surely you don't want one of us to recreate a JNI tutorial since 1) good ones already exist, 2) you should first show the fruits of your efforts that you've already expending researching and studying this subject, and 3) after all we're only volunteers.
Please feel free to come back if you have any specific and *answerable* questions.
- 04-29-2012, 08:55 PM #3
Member
- Join Date
- Apr 2012
- Posts
- 3
- Rep Power
- 0
Re: call c++ from java
Thank u sir about ur comments. Firstly, I'm very sorry about all my false. About JNI, I have alredy do a little research about JNI. What i know about JNI are we must add command #include <jni.h> and JNIEXPORT (File C). after I have done this, I try run the main java but still can't call the C++ function.
-
Re: call c++ from java
All this shows is that you haven't yet studied a tutorial on this subject. JNI is a deep subject that will require hours and days of intense research and study on your part to get up and running. The tutorials are easy to find, and I suggest that you get started.
Search Google on -- Oracle Java JNI tutorial
Start with the first hit from the search.
Another good tutorial: http://www.ibm.com/developerworks/java/tutorials/j-jni/Last edited by Fubarable; 04-29-2012 at 09:00 PM.
- 04-29-2012, 09:04 PM #5
Member
- Join Date
- Apr 2012
- Posts
- 3
- Rep Power
- 0
Similar Threads
-
how to call Java Bean Ireport frm Java application
By Prashant.surwade in forum Advanced JavaReplies: 8Last Post: 05-06-2012, 04:39 PM -
Is it Possible to call C++ from Java?
By Ampzor in forum Advanced JavaReplies: 6Last Post: 02-09-2012, 10:12 AM -
call by value and call by reference in java
By sandeepsai39 in forum New To JavaReplies: 7Last Post: 08-12-2010, 12:03 PM -
how to call dll from java ??
By Omarero in forum New To JavaReplies: 3Last Post: 11-13-2008, 06:14 AM -
how to call a dll from java
By katie in forum Advanced JavaReplies: 3Last Post: 12-10-2007, 11:34 AM
Bookmarks