title: Running a JAR I compiled: "Unsupported major.minor version 52.0"
body: <p>I just recently recovered some programs from my old hard drive, so I tried compiling one and running it, and I get this error in command prompt:</p>
  
  <p>Unsupported major.minor version 52.0</p>
  
  <p>I compiled the program with Java 8, and I ran it with Java 8. The only thing I can think of is the fact that I used Java 7 with the program on my old computer. Also, I'm using Windows XP on this new computer, while I used Windows 7 on the old computer.</p>
  
  <p>I am using two libraries, but I don't think that is the issue since the program ran fine in NetBeans.</p>
  
  <p>Any ideas of what the problem is?</p>