title: Unsupported major.minor version 52.0 at java.lang.ClassLoader.defineClass1(Native Method)
body: <p>running fedora 20 and using gedit as my editor.
  when i compile my program and then try to run it using terminal, this happens:</p>
  
  <p><code>Unsupported major.minor version 52.0
      at java.lang.ClassLoader.defineClass1(Native Method)
      at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
      at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
      at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
      at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
      at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
      at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
      at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:482)
  ABRT problem creation: 'success'
  </code>
  i have tried the simple google search but all i can find out is that the program is being compiled using a later version of java and being run with another. however, all the solutions i came across are based on eclipse and i am not using this.</p>
  
  <p>please help!</p>