Menu

#133 Crash on start - Ubuntu 12.10 64 bit

v1.0 (example)
closed
nobody
5
2015-10-16
2012-10-22
Mark
No

Nixnote does not start and crashes with the following error:

Exception in thread "main" java.lang.UnsupportedClassVersionError: cx/fbn/nevernote/NeverNote : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Could not find the main class: cx.fbn.nevernote.NeverNote. Program will exit.

This is on the 64bit version of Ubuntu 12.10; Nixnote version 1.4

Discussion

  • Randy Baumgarte

    Randy Baumgarte - 2012-10-23

    What version of Java are you using?

     
  • Mark

    Mark - 2012-10-23

    Java Version 1.7.0_07 from Oracle Corporation

    Just to add, Nixnote worked perfectly before I updated to 12,10 from 12.04

     
  • Pablo M. Russo

    Pablo M. Russo - 2013-03-22

    Same error happened to me.

    Using:
    java version "1.6.0_37"
    Java(TM) SE Runtime Environment (build 1.6.0_37-b06)
    Java HotSpot(TM) 64-Bit Server VM (build 20.12-b01, mixed mode)

    in ubuntu 12.10

     
  • Pablo M. Russo

    Pablo M. Russo - 2013-03-22

    With this java version:
    java version "1.7.0_15"
    OpenJDK Runtime Environment (IcedTea7 2.3.7) (7u15-2.3.7-0ubuntu1~12.10.1)
    OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)

    Problem solved.

     
  • Randy Baumgarte

    Randy Baumgarte - 2013-03-22

    If the version of NixNote is the same, try looking at the CLASSPATH variable and seeing if there is some old Java files in the path. I did a quick Google search and it seems to imply there may be an older Java version somewhere causing issues.

     
  • Randy Baumgarte

    Randy Baumgarte - 2015-10-16
    • status: open --> closed
    • Group: --> v1.0 (example)
     

Log in to post a comment.