title: Unsupported major.minor version 52.0 for when running junit
body: <p>I'm using eclipse to run my tests with: right click test method -> Run As -> JUnit Test. This results in the following error:</p>
  
  <pre><code>java.lang.UnsupportedClassVersionError: com/bazaarvoice/jolt/JsonUtils : Unsupported major.minor version 52.0
  </code></pre>
  
  <p>However, when running the following command, I do not run into this issue</p>
  
  <pre><code>mvn -Dtest=MyTestClass#myTestMethod test
  </code></pre>
  
  <p>I tried running and compiling using the same version of java (1.8) following <a href="https://stackoverflow.com/a/29176500/10137647">this answer</a>, but I'm still getting this major.minor error.</p>
  
  <p>Is there some specific java version that I need to set up for junit that I'm missing?</p>