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

  1. Before installing Anypoint Studio, be sure to install Java SE Development Kit 7 on your host machine, refer to Hardware and Software Requirements for reference. See also Running Studio on a Mac.

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

  3. Visit mulesoft.com to download Mule ESB Enterprise with Anypoint Studio.

  4. Click to download the version of Studio that is compatible with your operating system: Windows, Mac, or Linux.

  5. 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.

  6. If using a Mac OS, 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 anypointStudio file icon, located in the AnypointStudio directory.

    finder
  7. Click OK to accept the default workspace.

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

  9. Optional: Add the Community Runtime to your Studio instance.

  10. Optional: Installing an Enterprise License (recommended for running applications in production).

Mule EE Runtime + MMC

  1. Install Java SE Development Kit 7 on your host machine. Refer to Hardware and Software Requirements for reference.

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

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

  4. Start Mule from the software download’s bin folder by typing ./mule for Mac and Linux, or mule.bat for Windows.

  5. Download and unzip the Mule Management Console (MMC) separately from the Support Portal.

  6. Open a command line and navigate to the freshly extracted folder.

  7. From the terminal, run the appropriate startup command for your operating system.

    1. Windows:

      startup.bat
    2. Linux or Mac:

      ./startup.sh
  8. Wait for Mule to start running, which may take a minute or two. MMC automatically deploys and starts running from an embedded Tomcat server. Once Mule and MMC are running, you should see a message similar to the following:

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

  10. 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

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 X Mountain Lion, there are two extra considerations to be mindful of when running Anypoint Studio.

Java Runtime Environment

Check to confirm that 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_60"
Java(TM) SE Runtime Environment (build 1.7.0_60-b19)
Java HotSpot(TM) 64-Bit Server VM (build 24.60-b09, 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 and 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