Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Importing a value to Java from C/C++ using JNI

 
Henadeerage Henadeera
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Everybody,

I'm searching a way to import a String value from C/C++ program to Java program in the run time using JNI.
Please anybody, guide me to how to do this using JNI.(I know only to say hello world using JNI )

Thank you very much!
Henadeera
 
Henadeerage Henadeera
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Henadeerage Henadeera wrote:Hello Everybody,

I'm searching a way to import a String value from C/C++ program to Java program in the run time using JNI.
Please anybody, guide me to how to do this using JNI.(I know only to say hello world using JNI )

Thank you very much!
Henadeera



OK I got the right document.
http://download.oracle.com/javase/7/docs/technotes/guides/jni/spec/intro.html#wp16539
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic