I followed the install instructions downloaded 3.7.7 and the newest java jdk. I changed my enviroment to the folder holding the java files. Once i go into command prompt and do the ma-start batch file it opens a window in firefox and hits 40%. Once it hits 40% I get an error:
once this happens I look through the starting logs and tried a few java files I thought might be correct for the enviroment.
Here is my cmd when I try the newest version of java. (jdk-15.0.1)
Microsoft Windows [Version 10.0.17134.1304]
(c) 2018 Microsoft Corporation. All rights reserved.
C:\WINDOWS\system32>cd C:\Users\User1\Documents\AES_Alamitos\old mango\bin
C:\Users\User1\Documents\AES_Alamitos\old mango\bin>ma-start.bat
Using C:\Users\User1\Documents\AES_Alamitos\old mango as MA_HOME
C:\Users\User1\Documents\AES_Alamitos\old mango\overrides\classes;C:\Users\User1\Documents\AES_Alamitos\old mango\classes;C:\Users\User1\Documents\AES_Alamitos\old mango\overrides\properties;C:\Users\User1\Documents\AES_Alamitos\old mango\overrides\lib*;C:\Users\User1\Documents\AES_Alamitos\old mango\lib*
Using Java at C:\Program Files\AdoptOpenJDK\jdk-15.0.1.9-hotspot\bin\java
INFO 2020-12-18T14:40:41,786 (com.serotonin.m2m2.Main.main:121) - Starting Mango 3.7.7 with Schema Version: 29
INFO 2020-12-18T14:40:42,269 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'advancedScheduler', v3.7.0 by Infinite Automation Systems Inc.
INFO 2020-12-18T14:40:42,285 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'asciiFile', v3.7.0 by Infinite Automation Systems Inc.
INFO 2020-12-18T14:40:42,294 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'BACnet', v3.7.0 by Infinite Automation Systems Inc.
INFO 2020-12-18T14:40:42,305 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'cloudConnect', v3.7.1 by Infinite Automation Systems Inc.
INFO 2020-12-18T14:40:42,310 (com.serotonin.m2m2.util.DocumentationManifest.parseManifestFile:60) - Documentation manifest file not found: C:\Users\User1\Documents\AES_Alamitos\old mango\web\modules\cloudConnect\web\dox\manifest.xml
INFO 2020-12-18T14:40:42,314 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'controlcore', v3.7.0 by Infinite Automation Systems Inc.
INFO 2020-12-18T14:40:42,322 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'dashboardDesigner', v3.7.0 by Infinite Automation Systems Inc.
INFO 2020-12-18T14:40:42,325 (com.serotonin.m2m2.util.DocumentationManifest.parseManifestFile:60) - Documentation manifest file not found: C:\Users\User1\Documents\AES_Alamitos\old mango\web\modules\dashboardDesigner\web\dox\manifest.xml
INFO 2020-12-18T14:40:42,332 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'dataFile', v3.7.1 by Infinite Automation Systems Inc.
INFO 2020-12-18T14:40:42,352 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'dataImport', v3.7.0 by Infinite Automation Systems Inc.
INFO 2020-12-18T14:40:42,366 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'deviceConfig', v3.7.0 by Infinite Automation Systems Inc.
INFO 2020-12-18T14:40:42,374 (com.serotonin.m2m2.util.DocumentationManifest.parseManifestFile:60) - Documentation manifest file not found: C:\Users\User1\Documents\AES_Alamitos\old mango\web\modules\deviceConfig\web\dox\manifest.xml
INFO 2020-12-18T14:40:42,391 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'dnp3', v3.7.1 by Infinite Automation Systems Inc.
INFO 2020-12-18T14:40:42,410 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'egauge', v3.7.0 by Infinite Automation Systems Inc.
INFO 2020-12-18T14:40:42,425 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'envcands', v3.7.0 by Infinite Automation Systems Inc.
INFO 2020-12-18T14:40:42,442 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'excelReports', v3.7.1 by Infinite Automation Systems Inc.
INFO 2020-12-18T14:40:42,478 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'graphicalViews', v3.7.0 by Infinite Automation Systems Inc.
INFO 2020-12-18T14:40:42,537 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'Haystack', v3.7.0 by Infinite Automation Systems Inc.
INFO 2020-12-18T14:40:42,557 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'http', v3.7.1 by Infinite Automation Systems Inc.
INFO 2020-12-18T14:40:42,577 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'jsonFileImport', v3.7.0 by Infinite Automation Systems Inc.
INFO 2020-12-18T14:40:42,592 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'log4jDS', v3.7.0 by Infinite Automation Systems Inc.
INFO 2020-12-18T14:40:42,606 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'log4JReset', v3.7.0 by Infinite Automation Systems Inc.
INFO 2020-12-18T14:40:42,618 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'loggingConsole', v3.7.0 by Infinite Automation Systems Inc.
INFO 2020-12-18T14:40:42,634 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'maintenanceEvents', v3.7.0 by Infinite Automation Systems Inc.
INFO 2020-12-18T14:40:42,646 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'mangoApi', v3.7.0 by Infinite Automation Systems Inc.
INFO 2020-12-18T14:40:42,662 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'mangoUI', v3.7.3 by Infinite Automation Systems Inc.
INFO 2020-12-18T14:40:42,666 (com.serotonin.m2m2.util.DocumentationManifest.parseManifestFile:60) - Documentation manifest file not found: C:\Users\User1\Documents\AES_Alamitos\old mango\web\modules\mangoUI\web\dox\manifest.xml
INFO 2020-12-18T14:40:42,755 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'mbus', v3.7.0 by Infinite Automation Systems Inc.
INFO 2020-12-18T14:40:42,768 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'meta', v3.7.0 by Infinite Automation Systems Inc.
INFO 2020-12-18T14:40:42,777 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'modbus', v3.7.0 by Infinite Automation Systems Inc.
INFO 2020-12-18T14:40:42,788 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'mqttClientDataSource', v3.7.0 by Infinite Automation Systems Inc.
INFO 2020-12-18T14:40:42,797 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'onewire', v3.7.0 by Infinite Automation Systems Inc.
INFO 2020-12-18T14:40:42,806 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'opcda', v3.7.0 by Infinite Automation Systems Inc.
INFO 2020-12-18T14:40:42,811 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'pakbus', v3.7.0 by Infinite Automation Systems Inc.
INFO 2020-12-18T14:40:42,819 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'pointLinks', v3.7.1 by Infinite Automation Systems Inc.
INFO 2020-12-18T14:40:42,829 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'pop3', v3.7.0 by Infinite Automation Systems Inc.
INFO 2020-12-18T14:40:42,836 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'reports', v3.7.0 by Infinite Automation Systems Inc.
INFO 2020-12-18T14:40:42,849 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'scheduledEvents', v3.7.0 by Infinite Automation Systems Inc.
INFO 2020-12-18T14:40:42,858 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'scripting', v3.7.0 by Infinite Automation Systems Inc.
INFO 2020-12-18T14:40:42,866 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'serial', v3.7.0 by Infinite Automation Systems Inc.
INFO 2020-12-18T14:40:42,875 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'slackPublisher', v3.7.0 by Infinite Automation Systems Inc.
INFO 2020-12-18T14:40:42,885 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'snmp', v3.7.0 by Infinite Automation Systems Inc.
INFO 2020-12-18T14:40:42,894 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'sqlConsole', v3.7.0 by Infinite Automation Systems Inc.
INFO 2020-12-18T14:40:42,902 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'sqlds', v3.7.0 by Infinite Automation Systems Inc.
INFO 2020-12-18T14:40:42,911 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'ssh', v3.7.0 by Infinite Automation Systems Inc.
INFO 2020-12-18T14:40:42,918 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'sstGlobalScripts', v3.7.0 by Infinite Automation Systems Inc.
INFO 2020-12-18T14:40:42,926 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'sstGraphics', v3.7.0 by Infinite Automation Systems Inc.
INFO 2020-12-18T14:40:42,970 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'TCPIP', v3.7.0 by Infinite Automation Systems Inc.
INFO 2020-12-18T14:40:42,978 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'templateConfig', v3.7.0 by Infinite Automation Systems Inc.
INFO 2020-12-18T14:40:42,986 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'twilio', v3.7.0 by Infinite Automation Systems Inc.
INFO 2020-12-18T14:40:43,003 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'virtualDS', v3.7.0 by Infinite Automation Systems Inc.
INFO 2020-12-18T14:40:43,012 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'vmstat', v3.7.0 by Infinite Automation Systems Inc.
INFO 2020-12-18T14:40:43,022 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'watchlists', v3.7.0 by Infinite Automation Systems Inc.
INFO 2020-12-18T14:40:43,053 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'internal', v3.7.0 by Infinite Automation Systems Inc.
INFO 2020-12-18T14:40:46,261 (com.serotonin.m2m2.Lifecycle.loadLic:583) - Checking license...
INFO 2020-12-18T14:40:46,262 (com.serotonin.m2m2.Lifecycle.loadLic:670) - License file not found
INFO 2020-12-18T14:40:46,444 (com.serotonin.m2m2.db.H2Proxy.initializeImpl:64) - Initializing H2 connection manager
INFO 2020-12-18T14:40:47,811 (com.serotonin.m2m2.db.upgrade.DBUpgrade.checkUpgrade:38) - Starting instance with core version 3.7.7, schema v29
Exception in thread "high-pool-2-thread-1" java.lang.NullPointerException: Cannot invoke "com.serotonin.m2m2.rt.EventManager.returnToNormal(com.serotonin.m2m2.rt.event.type.EventType, long, com.serotonin.m2m2.rt.event.ReturnCause)" because "com.serotonin.m2m2.Common.eventManager" is null
at com.serotonin.m2m2.CoreLicenseDefinition$2.run(CoreLicenseDefinition.java:161)
at com.serotonin.timer.sync.Synchronizer$TaskWrapper.run(Synchronizer.java:150)
at com.serotonin.timer.Task.runTask(Task.java:179)
at com.serotonin.timer.TaskWrapper.run(TaskWrapper.java:23)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
ERROR 2020-12-18T14:40:50,719 (com.serotonin.m2m2.Main.main:162) - Error during initialization
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mangoJavaScriptService': Lookup method resolution failed; nested exception is java.lang.IllegalStateException: Failed to introspect Class [com.infiniteautomation.mango.spring.service.MangoJavaScriptService] from ClassLoader [jdk.internal.loader.ClassLoaders$AppClassLoader@659e0bfd]
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.determineCandidateConstructors(AutowiredAnnotationBeanPostProcessor.java:265) ~[spring-beans-5.1.7.RELEASE.jar:5.1.7.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.determineConstructorsFromBeanPostProcessors(AbstractAutowireCapableBeanFactory.java:1269) ~[spring-beans-5.1.7.RELEASE.jar:5.1.7.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1184) ~[spring-beans-5.1.7.RELEASE.jar:5.1.7.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:555) ~[spring-beans-5.1.7.RELEASE.jar:5.1.7.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:515) ~[spring-beans-5.1.7.RELEASE.jar:5.1.7.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:320) ~[spring-beans-5.1.7.RELEASE.jar:5.1.7.RELEASE]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) ~[spring-beans-5.1.7.RELEASE.jar:5.1.7.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:318) ~[spring-beans-5.1.7.RELEASE.jar:5.1.7.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199) ~[spring-beans-5.1.7.RELEASE.jar:5.1.7.RELEASE]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:843) ~[spring-beans-5.1.7.RELEASE.jar:5.1.7.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:877) ~[spring-context-5.1.7.RELEASE.jar:5.1.7.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:549) ~[spring-context-5.1.7.RELEASE.jar:5.1.7.RELEASE]
at com.serotonin.m2m2.Lifecycle.springRuntimeContextInitialize(Lifecycle.java:385) ~[ma-priv-3.7.7.jar:?]
at com.serotonin.m2m2.Lifecycle.initialize(Lifecycle.java:288) ~[ma-priv-3.7.7.jar:?]
at com.serotonin.m2m2.Main.main(Main.java:159) ~[ma-priv-3.7.7.jar:?]
Caused by: java.lang.IllegalStateException: Failed to introspect Class [com.infiniteautomation.mango.spring.service.MangoJavaScriptService] from ClassLoader [jdk.internal.loader.ClassLoaders$AppClassLoader@659e0bfd]
at org.springframework.util.ReflectionUtils.getDeclaredMethods(ReflectionUtils.java:507) ~[spring-core-5.1.7.RELEASE.jar:5.1.7.RELEASE]
at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:404) ~[spring-core-5.1.7.RELEASE.jar:5.1.7.RELEASE]
at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:389) ~[spring-core-5.1.7.RELEASE.jar:5.1.7.RELEASE]
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.determineCandidateConstructors(AutowiredAnnotationBeanPostProcessor.java:248) ~[spring-beans-5.1.7.RELEASE.jar:5.1.7.RELEASE]
... 14 more
Caused by: java.lang.NoClassDefFoundError: jdk/nashorn/api/scripting/ClassFilter
at java.lang.Class.getDeclaredMethods0(Native Method) ~[?:?]
at java.lang.Class.privateGetDeclaredMethods(Class.java:3325) ~[?:?]
at java.lang.Class.getDeclaredMethods(Class.java:2466) ~[?:?]
at org.springframework.util.ReflectionUtils.getDeclaredMethods(ReflectionUtils.java:489) ~[spring-core-5.1.7.RELEASE.jar:5.1.7.RELEASE]
at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:404) ~[spring-core-5.1.7.RELEASE.jar:5.1.7.RELEASE]
at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:389) ~[spring-core-5.1.7.RELEASE.jar:5.1.7.RELEASE]
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.determineCandidateConstructors(AutowiredAnnotationBeanPostProcessor.java:248) ~[spring-beans-5.1.7.RELEASE.jar:5.1.7.RELEASE]
... 14 more
Caused by: java.lang.ClassNotFoundException: jdk.nashorn.api.scripting.ClassFilter
at jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:606) ~[?:?]
at jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:168) ~[?:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:522) ~[?:?]
at java.lang.Class.getDeclaredMethods0(Native Method) ~[?:?]
at java.lang.Class.privateGetDeclaredMethods(Class.java:3325) ~[?:?]
at java.lang.Class.getDeclaredMethods(Class.java:2466) ~[?:?]
at org.springframework.util.ReflectionUtils.getDeclaredMethods(ReflectionUtils.java:489) ~[spring-core-5.1.7.RELEASE.jar:5.1.7.RELEASE]
at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:404) ~[spring-core-5.1.7.RELEASE.jar:5.1.7.RELEASE]
at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:389) ~[spring-core-5.1.7.RELEASE.jar:5.1.7.RELEASE]
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.determineCandidateConstructors(AutowiredAnnotationBeanPostProcessor.java:248) ~[spring-beans-5.1.7.RELEASE.jar:5.1.7.RELEASE]
... 14 more
at java.base/java.lang.Thread.run(Thread.java:832)
INFO 2020-12-18T14:40:50,721 (com.serotonin.m2m2.Lifecycle.terminate:400) - Mango Lifecycle terminating...
INFO 2020-12-18T14:40:50,749 (com.serotonin.m2m2.db.H2Proxy.terminateImpl:406) - Terminating database.
INFO 2020-12-18T14:40:50,809 (com.serotonin.m2m2.Lifecycle.terminate:550) - Mango Lifecycle terminated.
Any help would be appreciated.