Beginning JNI with NetBeans C/C++ Pack 6.0, Part II, Linux
by Amit
The tutorial will take you through the creation of a sample application which uses JNI to execute some native code written in the C programming language. For the Java part of the application you will use NetBeans IDE 6; for the C part – NetBeans C/C++ Pack 6.
You will start off by creating a simple Java project, adding a native method to it and then implementing this method in C using NetBeans C/C++ Pack 6.0. This is the second part of the tutorial that covers the creation of a sample JNI application in the Ubuntu Linux 7.04 operating system.
Read more..http://cnd.netbeans.org/docs/jni/nb6-linux/beginning-jni-linux.html
Thanks for the tutorial. It’s really helpful to me, a Java noob.
Hi Charlie!Thanks; great that you found it useful!
Can you direct me to a comparable tutorial for JNI with NetBeans 6.0 (or 6.1) C/C++ for Windows? I tried following the tutorial for NetBeans 5.5, and got stuck when the make step said that “–add-stdcall-alias” was an unrecognized command line option, even though the tutorial explicitly required it.Thanks for any help you can provide.
Hi!I’m following the link but I’m lost after setting up the c++ dynamic library.In the section Adding the Header file, it says to “Select the HelloWorldNative.h file”. I know its the JNIDemojava.h but when it goes to the implementing section again it instructs to edit the HelloWorldNative.c and how come there empty #includes? Sorry I’m confuse, still new with this…hope anyone can help me..thanks in advance
Interesting post. I have been wondering about this issue,so thanks for posting. I’ll likely be coming back to your blog. Keep up great writing. Find your great Travel News and sing the songs at Free Song Lyric or you can watch the drama at Korea Drama Online one of great korea drama is A Love to Kill if you go to travel to Indonesia learn Learn Indonesia Language first! And find your home cari rumah or make a blog Belajar membuat Blog find your home again rumah dijual and again at jual rumah the point is cari rumah, jual rumah, rumah dijual, download youtube and find blog widget and then if you want buy a new laptop see the Laptop Price List or you can buy a New Blackberry and then take care your Health & Jewerly good job, very great article Cari Rumah, Jual Rumah, Rumah dijual Thanks ever so much Cari Rumah, Jual Rumah, Rumah dijual very useful article Cari Rumah, Jual Rumah, Rumah dijual Great information Cari Rumah, Jual Rumah, Rumah dijual I like your blog Cari Rumah, Jual Rumah, Rumah dijual I will be checking back for any new articles Cari Rumah, Jual Rumah, Rumah dijual just bookmarked it for later reference Cari Rumah, Jual Rumah, Rumah dijual. Thanks for kindly sharing it with us. Very well done indeed