Two Laptop Bag
The moose likes Distributed Java and the fly likes C++ call from Java Class Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Distributed Java
Reply Bookmark "C++ call from Java Class" Watch "C++ call from Java Class" New topic
Author

C++ call from Java Class

Joe Angott
Greenhorn

Joined: Oct 13, 2000
Posts: 7
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

Joined: Jun 05, 2001
Posts: 16
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


Life is short, play hard.
Joe Angott
Greenhorn

Joined: Oct 13, 2000
Posts: 7
Kind of already got there and yes, using jni was just the ticket to ease my woes. Thanks much for the help! : )
 
IntelliJ Java IDE
 
subject: C++ call from Java Class
 
Threads others viewed
Calling jar file from asp.net
How to call a method in the supermost class
Splitting the output console - possible?
jni in linux
Calling java from C
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com