• Post Reply Bookmark Topic Watch Topic
  • New Topic

C++ call from Java Class  RSS feed

 
Joe Angott
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need to call a c++ program with arguments and be able to accept values back. How is this possible? Is it possible without going through CORBA?
 
Greg Mehlhose
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JNI may be the solution. Try this link and let me know if this will solve your problem.
http://java.sun.com/docs/books/tutorial/native1.1/index.html
 
Joe Angott
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Kind of already got there and yes, using jni was just the ticket to ease my woes. Thanks much for the help! : )
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!