我正在尝试运行使用5.0.5版本构建的Netlogo脚本。我刚刚在几天前下载了5.0.5版本。该脚本使用nw和time扩展。当我打开脚本时,我会收到这些错误消息,而且我不知道如何解决这些问题:
NetLogo无法向您提供有关此错误的更多详细信息。 请报告问题 https://github.com/NetLogo/NetLogo/issues,或 bugs@ccl.northwestern.edu,并将此窗口的内容粘贴到 你的报告。
java.lang.UnsupportedClassVersionError:time / TimeExtension: 不支持的major.minor版本52.0 at java.lang.ClassLoader.defineClass1(Native Method)at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)at at java.lang.ClassLoader.defineClass(ClassLoader.java:615)at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) 在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 at java.lang.ClassLoader.loadClass(ClassLoader.java:247)at org.nlogo.workspace.ExtensionManager.getClassManager(ExtensionManager.java:406) 在 org.nlogo.workspace.ExtensionManager.importExtension(ExtensionManager.java:173) 在 org.nlogo.compiler.StructureParser.parseImport(StructureParser.scala:459) 在org.nlogo.compiler.StructureParser.parse(StructureParser.scala:196) 在org.nlogo.compiler.CompilerMain $ .compile(CompilerMain.scala:25)at at org.nlogo.compiler.Compiler $ .compileProgram(Compiler.scala:28)at org.nlogo.window.CompilerManager.compileProcedures(CompilerManager.java:107) 在 org.nlogo.window.CompilerManager.compileAll(CompilerManager.java:87) 在org.nlogo.window.CompilerManager.handle(CompilerManager.java:309) 在 org.nlogo.window.Events $ CompileAllEvent.beHandledBy(Events.java:175) 在org.nlogo.window.Event.doRaise(Event.java:198)at org.nlogo.window.Event.raise(Event.java:122)at org.nlogo.app.ProceduresTab $ CompileAction.actionPerformed(ProceduresTab.scala:60) 在 javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995) 在 javax.swing.AbstractButton中的$ Handler.actionPerformed(AbstractButton.java:2318) 在 javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387) 在 javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242) 在 javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236) 在java.awt.Component.processMouseEvent(Component.java:6297)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) 在 java.awt.LightweightDispatcher.processMouseEvent(Container.java:4236) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4166) 在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 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) 在 java.security.AccessControlContext $ 1.doIntersectionPrivilege(AccessControlContext.java:98) 在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) 在java.awt.EventQueue.dispatchEvent(EventQueue.java:644)at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269) 在 java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184) 在 java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174) 在 java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169) 在 java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161) 在java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
NetLogo 5.0.5 main:org.nlogo.app.AppFrame线程:AWT-EventQueue-0 Java HotSpot(TM)Server VM 1.6.0_45(Sun Microsystems Inc .; 1.6.0_45-b06)操作系统:Windows 7 6.1(x86处理器)Scala版本2.9.2 JOGL :( 3D视图未初始化)OpenGL图形:(3D 查看未初始化)模型:IBM
11:16:19.654 InterfaceGlobalEvent(org.nlogo.app.InterfacePanel $ 2 (org.nlogo.window.SliderWidget))AWT-EventQueue-0 11:16:19.654 InterfaceGlobalEvent(org.nlogo.app.InterfacePanel $ 2 (org.nlogo.window.SliderWidget))AWT-EventQueue-0 11:16:19.654 InterfaceGlobalEvent(org.nlogo.app.InterfacePanel $ 2 (org.nlogo.window.SliderWidget))AWT-EventQueue-0 11:16:19.654 InterfaceGlobalEvent(org.nlogo.app.InterfacePanel $ 2 (org.nlogo.window.SliderWidget))AWT-EventQueue-0 11:16:19.654 InterfaceGlobalEvent(org.nlogo.app.InterfacePanel $ 2 (org.nlogo.window.SliderWidget))AWT-EventQueue-0 11:16:19.654 InterfaceGlobalEvent(org.nlogo.app.InterfacePanel $ 2 (org.nlogo.window.SliderWidget))AWT-EventQueue-0 11:16:19.654 InterfaceGlobalEvent(org.nlogo.app.InterfacePanel $ 2 (org.nlogo.window.SliderWidget))AWT-EventQueue-0 11:16:19.654 InterfaceGlobalEvent(org.nlogo.app.InterfacePanel $ 2 (org.nlogo.window.SliderWidget))AWT-EventQueue-0 11:16:19.654 InterfaceGlobalEvent(org.nlogo.app.InterfacePanel $ 2 (org.nlogo.window.SliderWidget))AWT-EventQueue-0 11:16:19.654 InterfaceGlobalEvent(org.nlogo.app.InterfacePanel $ 2 (org.nlogo.window.SliderWidget))AWT-EventQueue-0