java.lang.UnsupportedClassVersionError

TimeExtension : Unsupported major.minor version 51.0

Samebug tips4

Update "latest" to Java 8 on DockerHub.

You're using an older version of java with classes compiled for java7

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web4812

  • TimeExtension : Unsupported major.minor version 51.0
  • Hist4jExample : Unsupported major.minor version 51.0
  • Stack trace

    • java.lang.UnsupportedClassVersionError: TimeExtension : 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 java.net.FactoryURLClassLoader.loadClass(URLClassLoader.java:627) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) at org.nlogo.workspace.ExtensionManager.getClassManager(ExtensionManager.java:404) at org.nlogo.workspace.ExtensionManager.importExtension(ExtensionManager.java:170) at org.nlogo.compiler.StructureParser.parseImport(StructureParser.scala:459) at org.nlogo.compiler.StructureParser.parse(StructureParser.scala:196) at org.nlogo.compiler.CompilerMain$.compile(CompilerMain.scala:25) at org.nlogo.compiler.Compiler$.compileProgram(Compiler.scala:28) at org.nlogo.window.CompilerManager.compileProcedures(CompilerManager.java:107) at org.nlogo.window.CompilerManager.compileAll(CompilerManager.java:87) at org.nlogo.window.CompilerManager.handle(CompilerManager.java:309) at org.nlogo.window.Events$CompileAllEvent.beHandledBy(Events.java:175) at org.nlogo.window.Event.doRaise(Event.java:198) at org.nlogo.window.Event.raise(Event.java:122) at org.nlogo.app.ProceduresTab.recompile(ProceduresTab.scala:125) at org.nlogo.app.ProceduresTab.handle(ProceduresTab.scala:103) at org.nlogo.app.Events$SwitchedTabsEvent.beHandledBy(Events.java:42) at org.nlogo.window.Event.doRaise(Event.java:198) at org.nlogo.window.Event.raise(Event.java:122) at org.nlogo.app.Tabs.stateChanged(Tabs.scala:45) at javax.swing.JTabbedPane.fireStateChanged(JTabbedPane.java:400) at javax.swing.JTabbedPane$ModelListener.stateChanged(JTabbedPane.java:253) at javax.swing.DefaultSingleSelectionModel.fireStateChanged(DefaultSingleSelectionModel.java:116) at javax.swing.DefaultSingleSelectionModel.setSelectedIndex(DefaultSingleSelectionModel.java:50) at javax.swing.JTabbedPane.setSelectedIndexImpl(JTabbedPane.java:599) at javax.swing.JTabbedPane.setSelectedIndex(JTabbedPane.java:574) at javax.swing.plaf.basic.BasicTabbedPaneUI$Handler.mousePressed(BasicTabbedPaneUI.java:3628) at java.awt.Component.processMouseEvent(Component.java:6294) at javax.swing.JComponent.processMouseEvent(JComponent.java:3275) at java.awt.Component.processEvent(Component.java:6062) at java.awt.Container.processEvent(Container.java:2039) at java.awt.Component.dispatchEventImpl(Component.java:4660) at java.awt.Container.dispatchEventImpl(Container.java:2097) at java.awt.Component.dispatchEvent(Component.java:4488) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4575) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4233) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4166) at java.awt.Container.dispatchEventImpl(Container.java:2083) at java.awt.Window.dispatchEventImpl(Window.java:2489) at java.awt.Component.dispatchEvent(Component.java:4488) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:674) at java.awt.EventQueue.access$400(EventQueue.java:81) at java.awt.EventQueue$2.run(EventQueue.java:633) at java.awt.EventQueue$2.run(EventQueue.java:631) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98) at java.awt.EventQueue$3.run(EventQueue.java:647) at java.awt.EventQueue$3.run(EventQueue.java:645) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87) at java.awt.EventQueue.dispatchEvent(EventQueue.java:644) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161) at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Once, 1 month ago
    Unknown user
    Once, 3 months ago
    2 times, 3 months ago
    Unknown user
    Once, 6 months ago
    Once, 7 months ago
    194 more bugmates