Nav
You are viewing an older version of this section. Click here to navigate to the latest version.

Downloading and Starting Mule ESB

Select one of the tabs below for instructions on how to install, configure and run your instance of Mule ESB.

Downloading and Launching Mule 

  1. Install either Java SE Development Kit 7 or JDK 8. See also Running Studio on a Mac.

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

  3. Download Anypoint Studio, which includes the Mule Runtime.

  4. Choose the version of Studio 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, 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

  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 Community runtime to your Studio instance.

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

  1. Install either Java SE Development Kit 7 or JDK 8. See also Running Studio on a Mac.

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

  3. Download Anypoint Studio, which includes the Mule Runtime.

  4. Download MMC from the Support Portal.

  5. Unzip the mmc-distribution-mule-console-bundle-<version>.zip file.

  6. From the mmc-distribution-mule-console-bundle-<version> directory at the command line, run either the`startup.bat` for Windows, or startup.sh for Mac and Linux.

  7. At the prompt, Please enter the desired port for Mule [Default 7777]: press Return to accept the default or type a new port number.

    MMC displays its startup messages. Look for these:

    • Starting MMC. Please wait.

    • Tomcat Started.

    • initialization started

    • MMC started

      After Mule and MMC are running, this message appears:

      
                
                        
                     
      1
      2
      3
      
      Mule running as PID=#####
      Tomcat and MMC running as PID=#####
      Finished starting Mule and MMC.
  8. The Mule startup message 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.

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 or JDK 8.

  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 or 8 is in place on your system. From the command line (Terminal app), run: java -version

The JDK 7 response should appear similar to:


         
      
1
2
3
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)

The JDK 8 response is similar to:


         
      
1
2
3
java version "1.8.0_51"
Java(TM) SE Runtime Environment (build 1.8.0_51-b16)
Java HotSpot(TM) 64-Bit Server VM (build 25.51-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 or 8.

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