title: java.io.FileNotFoundException: null\conf\wrapper.conf (The system cannot find the path specified)
body: <p>I've been using this tutorial <a href="http://mpjexpress.blogspot.co.nz/2010/05/executing-and-debugging-mpj-express.html" rel="nofollow noreferrer">http://mpjexpress.blogspot.co.nz/2010/05/executing-and-debugging-mpj-express.html</a>, <b>text: </b><i>steps 1,2,3</i> and <b>video:</b><i> steps between 0:00 to 3:29</i></p>
  
  <p><b>Referenced files</b></p>
  
  <p><a href="https://i.stack.imgur.com/36fKj.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/36fKj.png" alt="build path"></a><br>
  <sub>(source: <a href="http://iforce.co.nz/i/e3kg0k2h.w0c.png" rel="nofollow noreferrer">iforce.co.nz</a>)</sub>  </p>
  
  <p><b>Sample Code <i>(Copy paste from the tutorial)</i></b></p>
  
  <pre><code>import mpi.*;
  public class HelloEclipseWorld {
  vpublic static void main(String[] args) throws Exception {
  MPI.Init(args) ;
  int rank = MPI.COMM_WORLD.Rank();
  int size = MPI.COMM_WORLD.Size();
  System.out.println("I am process &lt;"+rank+"&gt; of total &lt;"+
  size+"&gt; processes.");
  MPI.Finalize();
  }
  }
  </code></pre>
  
  <p>And I've included the mpi and mpj jar file from <a href="http://en.sourceforge.jp/projects/sfnet_mpjexpress/downloads/releases/mpj-v0_38.zip/" rel="nofollow noreferrer">http://en.sourceforge.jp/projects/sfnet_mpjexpress/downloads/releases/mpj-v0_38.zip/</a> (as per tutorial step)</p>
  
  <p>Then I set the run path configuration (as per tutorial step)</p>
  
  <pre><code>-jar ${MPJ_HOME}/lib/starter.jar
  </code></pre>
  
  <p>I also tried the same command but with -np 4 appended to the end (as per tutorial step)</p>
  
  <pre><code>-jar ${MPJ_HOME}/lib/starter.jar -np 4
  </code></pre>
  
  <p><b>VM arguments</b></p>
  
  <p><a href="https://i.stack.imgur.com/SIwT2.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/SIwT2.png" alt="mpi run config"></a><br>
  <sub>(source: <a href="http://iforce.co.nz/i/pfpigbiv.l4h.png" rel="nofollow noreferrer">iforce.co.nz</a>)</sub>  </p>
  
  <p><b>MPJ_HOME variable</b></p>
  
  <p><a href="https://i.stack.imgur.com/KF1Nm.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/KF1Nm.png" alt="mpi var"></a><br>
  <sub>(source: <a href="http://iforce.co.nz/i/rzl4e0ff.pfi.png" rel="nofollow noreferrer">iforce.co.nz</a>)</sub>  </p>
  
  <p><b>MPJ Express Output</b></p>
  
  <pre><code> MPJ Express (0.38) is started in the multicore configuration
   I am process &lt;3&gt; of total &lt;4&gt; processes
   I am process &lt;3&gt; of total &lt;4&gt; processes
   I am process &lt;3&gt; of total &lt;4&gt; processes
   I am process &lt;3&gt; of total &lt;4&gt; processes
  </code></pre>
  
  <p>Once I finished setting everything I try to execute it via Eclipse, but I'm getting these errors :(</p>
  
  <p><b>Compiler Error</b></p>
  
  <pre><code>java.io.FileNotFoundException: null\conf\wrapper.conf (The system cannot find the path specified)
  at java.io.FileInputStream.open(Native Method)
  at java.io.FileInputStream.&lt;init&gt;(Unknown Source)
  at java.io.FileInputStream.&lt;init&gt;(Unknown Source)
  at runtime.starter.MPJRun.getPortFromWrapper(MPJRun.java:807)
  at runtime.starter.MPJRun.&lt;init&gt;(MPJRun.java:68)
  at runtime.starter.MPJRun.main(MPJRun.java:964)
  </code></pre>
  
  <p><b>Wrapper.conf location</b></p>
  
  <p><a href="https://i.stack.imgur.com/vN0vS.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/vN0vS.png" alt="wrapper loc"></a><br>
  <sub>(source: <a href="http://iforce.co.nz/i/g02jjzgk.g5n.png" rel="nofollow noreferrer">iforce.co.nz</a>)</sub>  </p>
  
  <p>I'm slightly confused on why I'm getting these errors.. am I meant to do something else ? that the tutorial isn't telling me? in order to get this to work?</p>
  
  <p>what am I doing wrong? how can I fix this JRE error? regarding the file "conf\wrapper.conf" on mpj express? I think I'm missing something but I've read so many resources and followed the tutorial over and over... but I'm still receiving the FileNotFoundException for wrapper.conf.</p>
  
  <p>Some resources I've found (none answer the FileNotFoundException problem).</p>
  
  <ul>
  <li><a href="http://mpj-express.org/docs/javadocs/index.html" rel="nofollow noreferrer">Mpj java docs</a></li>
  <li><a href="http://mpj-express.org/docs/guides/windowsguide.pdf" rel="nofollow noreferrer">Mpj windows guide</a></li>
  <li><a href="http://parallel.vub.ac.be/education/parsys/practicum.html" rel="nofollow noreferrer">vub mpj</a></li>
  </ul>
  
  <p>If anyone has any advice on how to fix the FileNotFoundException I'd greatly appreciate it thanks!</p>