I have an application in C/C++ that writes data in shared memory in Unix. Now I want to read that shared memory data through a program using Java.
The program should read the shared memory data. Can it be possible?
Need a small implementation if possible.
Take a look at this codeproject project (For Windows):
Using Memory Mapped Files and JNI to communicate between Java and C++ programs
Or, this library:
CLIPC is an open-source Java library that gives developers interprocess communications (IPC) capabilities that may be absent or difficult to use in the Java distribution.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With