error calling c++ from java program
<p>I want to call a c++ executable from a java program. But after I call it, nothing happens. Then after I close the program, there an error window appears, which says abnormal program termination.</p>

<p>The code looks like this : </p>

<pre><code>    try {
            Runtime rt = Runtime.getRuntime();
            Process p = rt.exec("discretize.exe");


        } catch (Exception exc) {/*handle exception*/
            exc.printStackTrace();
        }
</code></pre>

<p>and the windows error that appears look like this :</p>

<p><a href="http://dc532.4shared.com/img/8e2-xhaG/debug.PNG" rel="nofollow">http://dc532.4shared.com/img/8e2-xhaG/debug.PNG</a></p>
