Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

getting data from C++ to java

797060Jul 22 2010 — edited Jul 22 2010
I have patchy experience in both Java and J++, and I have a problem that I need to get around.

I am going to be writing a piece of software with two components, a C++ driver that interacts with a TWAIN usb camera, and a java swing interface. Somehow I need to stream (is that the right word?) data from the c++ program to the Java program (either image information or video information).

I have never done anything like this and I am unsure about how to approach the problem, it seems I might need to use the JNI, but i've never used it, can I stream data between C++ and Java with JNI?

Any help would be greatly appreciated

Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 19 2010
Added on Jul 22 2010
5 comments
253 views