Mango Installation Stuck at Starting Mango (Windows)
-
Hi bux236,
I would expect that to be a path problem. Either you haven't defined JAVA_HOME to point at your JDK root directory, jdk1.8.0_xxx/bin/ is not on your path, or you have installed a JRE instead of a JDK.
-
Hello,
Thank you for your reply, I have now set JDK in the JAVA_HOME.
I now getting the following errors when trying to run upgrade.bat or mastart.bat
C:\Program Files (x86)\mango automation\bin>upgrade.bat Running upgrade script... Using C:\Program Files (x86)\mango automation as MA_HOME C:\Program Files (x86)\mango automation\overrides\classes;C:\Program Files (x86) \mango automation\classes;C:\Program Files (x86)\mango automation\overrides\prop erties;C:\Program Files (x86)\mango automation\overrides\lib\*;C:\Program Files (x86)\mango automation\lib\* Using Java at C:\Program Files\Java\jdk1.8.0_65\bin\java Error: Could not find or load main class com.serotonin.m2m2.Main C:\Program Files (x86)\mango automation\bin>ma-start.bat Using C:\Program Files (x86)\mango automation as MA_HOME C:\Program Files (x86)\mango automation\overrides\classes;C:\Program Files (x86) \mango automation\classes;C:\Program Files (x86)\mango automation\overrides\prop erties;C:\Program Files (x86)\mango automation\overrides\lib\*;C:\Program Files (x86)\mango automation\lib\* Using Java at C:\Program Files\Java\jdk1.8.0_65\bin\java Error: Could not find or load main class com.serotonin.m2m2.Main C:\Program Files (x86)\mango automation\bin>```
What am I doing wrong please!?
Many Thanks,
Chris
-
That means there is no ma-priv-3.x.x.jar JAR file in the directories specified on the path output after "Using ... as MA_HOME"
Running upgrade.bat is only sufficient to upgrade anything if you already have the new m2m2-core-3.x.x.zip in your Mango/ directory. Then you would have seen this message from ma-start.bat:
Core upgrade found...
So my guess is something has gone wrong with your upgrading, and you should place an m2m2-core-3.x.x.zip in your Mango/ directory and restart Mango.
-
Hi Phildunlap,
That did the trick!
Thanks for you help
Chris -
Glad to hear you got it resolved!