Windows Installation

How to install Mango in Windows

May 27th, 2020


Installing Mango Automation on a Windows computer is very easy. Follow these steps.

  1. Download and install Oracle Java JDK 11
  2. Download the Latest Full Mango Zip file from the website
  3. Unzip Mango into your folder of choice.

Running Mango

  1. Open your start menu and search for “cmd”
  2. Right Click on cmd.exe and select Run As Administrator, this will open the Command Prompt
  3. Type CD C:\<your mango directory>\boot such as CD C:\Program Files\Mango\boot
  4. Type java -jar ma-bootstrap.jar to start Mango

Running Mango as a service

  1. Open your start menu and search for “cmd”
  2. Right Click on cmd.exe and select Run As Administrator, this will open the Command Prompt
  3. Type CD C:\<your mango directory>\boot such as CD C:\Program Files\Mango\boot
  4. Type java -jar ma-windows-service.jar install (there are various options like install, uninstall, start, stop).
  5. Once installed you can start and stop via services.msc

Windows service

Troubleshooting

After clicking on the /bin/mango.cmd file if you see anything or something popped up and closed quickly then there was an error.

To see the error, first open the Command Prompt by typing “cmd” into your start menu. Right click on it and select “Run as Administrator”

Change directories to your Mango\bin folder. Now you can type mango.cmd and watch the start up procedure. If there is a conflict with your system, you will see the error in the terminal.

Common Startup issues:

  1. JDK not installed
  2. JAVA_HOME Not Set correctly
  3. Something else occupying the port Mango is starting on. By default, Mango uses port 8080. You can modify this by placing a new env.properties file into the /overrides/properties directory. Detailed instructions can be found here

Copyright © 2020 Radix IoT, LLC.