title: Compiling/Running Java files in Terminal
body: <p>I'm attempting to run a file that calls multiple files, but I'm getting some errors.</p>
  
  <p>Inside the current directory called <strong>day4Measurement</strong>, I have 13 files: BuggyMeasurement.java, BuggyMeasurement01.java, BuggyMeasurement02.java, BuggyMeasurement03.java, BuggyMeasurement04.java...BuggyMeasurement10.java, MeasurementTest.java, and Measurement.java.</p>
  
  <p><strong>Measurement.java</strong> contains the <em>main()</em> and calls all the other files.</p>
  
  <p>Here's the <em>main()</em>:</p>
  
  <pre><code>public static void main(String [] args){
      JUnitCore tester = new JUnitCore();
      String s = "Failed to detect: ";
      int count = 0;
      String [] tests = {"toString prints reverse inches then feet", // 01
          "plus modifies this", // 02
          "minus modifies this", // 03
          "multiple modifies this", // 04
          "plus incorrect roll over", // 05
          "minus incorrect roll over", // 06
          "multiple incorrect roll over", // 07
          "plus incorrect non-roll over", // 08
          "minus incorrect non-roll over", // 09
          "multiple incorrect non-roll over", // 10
          "CORRRRECTTT!!!"
      };
      for (int i = 1; i &lt; tests.length + 1; i++){
          testRound = i;
          System.out.println("Running: " + tests[i-1]);
          TestRunner.run(day4Measurement.MeasurementTest.class);
          Result temp = tester.run(day4Measurement.MeasurementTest.class);
          if (temp.wasSuccessful()) {
              s += tests[i-1] + "; ";
              count++;
          }
  
      }
  
      System.out.print(10-(count-1)*0.5 + " ");
      System.out.println(s);
  }
  </code></pre>
  
  <p>In the Mac Terminal, I run </p>
  
  <pre><code>javac Measurement.java
  </code></pre>
  
  <p>and I get issues. Here's what I get:</p>
  
  <p><img src="https://i.stack.imgur.com/xtPDz.png" alt="enter image description here">
  <img src="https://i.stack.imgur.com/YDa5J.png" alt="enter image description here"></p>
  
  <p>Any suggestions? </p>