Skip to content

Latest commit

 

History

History
67 lines (54 loc) · 1.71 KB

runtime-installation-task.adoc

File metadata and controls

67 lines (54 loc) · 1.71 KB

Download and Install Mule

Before downloading and installing Mule, verify that you have Java SE JDK 1.8 installed, for example:

$ java -version
java version "1.8.0_111"
Java(TM) SE Runtime Environment (build 1.8.0_111-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.111-b14, mixed mode)

Downloading Mule

  1. Download the Mule 4 binary file from the following link and unzip it:

  2. Set an environment variable called MULE_HOME for the mule directory inside your extracted folder.

    Example for version 4.1.5 in the Downloads directory:

    • On Windows environments:

      $ env:MULE_HOME="C:\Downloads\mule-enterprise-standalone-4.1.5"
    • On Linux/Unix environments:

      $ export MULE_HOME=~/Downloads/mule-enterprise-standalone-4.1.5

Running Mule

You can test if Mule runs in your system without errors by running the following commands:

  • On Windows environments:

    %MULE_HOME%\bin\mule.bat
  • On Linux/Unix environments:

    $ $MULE_HOME/bin/mule

These commands run Mule in foreground mode, and the startup script displays information on the terminal’s standard output. You can’t issue further commands on the terminal as long as Mule is running.

To stop Mule, press CTRL-C in the terminal in which the script is running.

See Also