A JNI wrapper for NetBeans

I'm looking for a way to ease JNI developing through NetBeans. Whenever a native method is declared in a Java file, this plugin should aid the developer to implement the method in a native language, promptly, and intuitively.

Actually, just try it manually:

  1. Create a Java app, declare a native method inside
  2. Compile it. Run javah in a terminal window.
  3. Create a C/C++ dynamic library project
  4. Add include directories for JNI (and system if not there yet)
  5. Link the generated header file into the C/C++ project
  6. Implement the method in C
  7. Build it, success!
  8. Link the dylib back into the build/classes directory of the Java project
  9. Add the System.loadLibrary static call
  10. Compile and run, success!

Similar project already exists. Maybe can co-op.

Comments:

Post a Comment:
  • HTML Syntax: NOT allowed
About

This blog has a comments managing system that requires me to approve each comment manually. Please do not re-post and I will reply it (if I have an answer) when I get pinged.

Search

Top Tags
Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today