Contact Us 1-800-596-4880

Downloading and Starting Mule ESB

Mule Runtime Engine versions 3.5, 3.6, and 3.7 reached End of Life on or before January 25, 2020. For more information, contact your Customer Success Manager to determine how you can migrate to the latest Mule version.

Downloading and Launching Mule

Anypoint Studio

anypoint_Studio
  1. Install Java SE Development Kit 7. See also Running Studio on a Mac?.

  2. Set your JAVA_HOME environment variable to the path in which you installed the JDK.

  3. Download Mule ESB Enterprise with Anypoint Studio.

  4. Unzip the downloaded file to a directory on a hard drive located on your host machine. The Anypoint Studio folder or directory appears when the unzip operation completes.

  5. If using a Mac, double-click the AnypointStudio.app file, located in the AnypointStudio folder.

    If using Windows, the anypointStudio.exe file, located in the AnypointStudio directory.
    If using Linux, double-click the Anypoint Studio file icon, located in the AnypointStudio directory.

    finder
  6. Click OK to accept the default workspace.

    launcher
  7. Studio launches, then displays a Welcome page. Click Create a Project to begin development immediately.

  8. Optional: Add Community runtime to your Studio instance.

  9. Optional: Acquire an Enterprise license (recommended for running applications in production).

Mule EE Runtime + MMC

mule_enterprise
  1. Install Java SE Development Kit 7.

  2. Set your JAVA_HOME environment variable to the path in which you installed the JDK.

  3. Download and unzip Mule ESB Enterprise. See also Running Studio on a Mac for additional Mac-related install information.

  4. Start Mule from a command line by changing directory to where you unzipped Mule and then changing to the bin directory. Type the ./mule command for Mac or Linux, or by typing mule.bat for Windows.

    Wait for Mule to start running, which may take a minute or two.

  5. Download MMC from the Support Portal and unzip it.

  6. From the terminal, start MMC by running the appropriate startup command for your operating system.

    1. Windows:

      startup.bat
    2. Linux or Mac:

      ./startup.sh
  7. MMC automatically deploys and starts running from an embedded Tomcat server. After Mule and MMC are running, this message appears:

    Mule running as PID=#####
    Tomcat and MMC running as PID=#####
    Finished starting Mule and MMC.
  8. The Mule startup messages displays the URL where Tomcat is serving the MMC application, for example http://localhost:8585/mmc-3.6.0. Use a Web browser to navigate to this URL.

  9. You are greeted by the MMC welcome screen, shown below. Log in with username admin, password admin.

    mmc_welcome_screen

    To stop Mule, run the shutdown.sh script (or shutdown.bat if on Windows) from the root folder of your installation.

Mule EE or CE Runtime

mule_community

The steps below describe what you need to do to install and run Mule ESB, the same steps apply for both the Community runtime and the Enterprise runtime.

  1. Install Java SE Development Kit 7.

  2. Download and unzip Mule ESB Enterprise.

  3. Start Mule from a command line by changing directory to where you unzipped the Mule software distribution and then changing to the bin directory. Type the ./mule command for Mac or Linux, or type mule.bat for Windows.

    Wait for Mule to start running, which may take a minute or two.

  4. To stop Mule, type CTRL-C.

Running Studio on a Mac

If you’re using Mac OS, there are two extra considerations when running Anypoint Studio.

Java Runtime Environment

Check to confirm that the Java runtime environment 7 is in place on your system. From the command line (Terminal app), run: ` java -version`

The response should appear similar to the following:

java version "1.7.0_55"
Java(TM) SE Runtime Environment (build 1.7.0_55-b13)
Java HotSpot(TM) 64-Bit Server VM (build 24.55-b03, mixed mode)

If a Java runtime environment is not installed, the command triggers a prompt to install the JDK tools directly from Apple. Follow the instructions to download and install JDK 7.

Application Execution

By default, Mac OS X restricts execution of applications acquired outside the Apple App Store. Because you download Anypoint Studio outside the App Store, your system may prevent you from running Studio applications and issue a warning message advising you to change your security settings to proceed. (Note: you must have Administrator privileges to adjust the security settings.)

  1. On your Mac, open System Preferences, then navigate to Security & Privacy.

  2. In the General tab, under "Allow applications downloaded from:", select the radio button for Anywhere.

Downloading Enterprise Additions

If you are running Anypoint Studio with an Enterprise runtime, you can add additional modules to your Studio instance.

See Also