How to communicate between C++ and JAVA via Memory-Mapped file without NMI?
<p>I have a C++ COMPILED code which takes two arguments: input file &amp; output file. It's also not possible to pipe input and output. I want to call this program from a Java application. 
The only performance-improvement option which comes to mind, is to use memory-mapped files. The task is simple: </p>

<ol>
<li>create two file (names)</li>
<li>call C++ compiled program and provide the file names (code manipulation is not possible, the code is too complicated)</li>
<li>read output file</li>
</ol>

<p>How can I do it in Java?</p>
