title: JBACI java compile error
body: <p>im trying to do my sempahore homework with JBACI, but i cant use it (after long steps to make it run, im sure i did them right) because terminal shows me an IO error. im trying to sample the following code: </p>
  
  <pre><code>// Demonstate jBACI graphics; without barrier program.
  #include "gdefs.cm"
  const
  int SQUARE1 = 1;    int SQUARE2 = 2;       
  int BARRER = 3;     int DELTA = 11;    int Xfinal = 600;
  
  void MoveS1() {
      int i=0,r;
      while (i &lt;= Xfinal) {
          r = random(DELTA);
          i = i + r;
          moveby(SQUARE1, r, 0);
      }
  }
  
  void MoveS2() {
      int i=0,r;
      while (i &lt;= Xfinal) {
          r = random(DELTA);
          i = i + r;
          moveby(SQUARE2, r, 0);           
      }
  }
  
  void main() {
      create(SQUARE1, RECTANGLE, RED,   30, 50,  30, 30);
      create(SQUARE2, RECTANGLE, BLUE,  30, 100, 30, 30);
      create(BARRER, LINE, BLACK, 350,10,350,400);
      cobegin {
          MoveS2();MoveS1();
      }
  }
  </code></pre>
  
  <p>and i get the following in terminal:</p>
  
  <pre><code>root@pochi-ThinkPad-T61:/home/pochi/ProgramasJBACI# java -jar jbaci.jar
  I/O error from: /usr/bin/bapas alien.pm  java.io.IOException: Cannot run program          
  "/usr/bin/bapas" (in directory "/home/pochi/ProgramasJBACI/examples"): 
  java.io.IOException:     error=2, No such file or directory
  </code></pre>
  
  <p>btw im compiling with JBACI</p>
  
  <p>tnx for help</p>
  
  <p>this isnt homework I need to know why i cant compile right... did i set a path wrong??
  also i followed this instructions: in spanish....
  <a href="http://inform.pucp.edu.pe/~inf232/Semestre-2007-2/Laboratorio-4/index.htm" rel="nofollow">http://inform.pucp.edu.pe/~inf232/Semestre-2007-2/Laboratorio-4/index.htm</a></p>