$ java -version
openjdk version "1.8.0_212"
OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_212-b03)
OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.212-b03, mixed mode)
Download, Install, Upgrade Mule
Before downloading and installing Mule, verify that you have a supported JDK installed. This example uses AdoptOpenJDK 8, which is recommended for Mule 4.3.
Downloading Mule
-
Download the Mule 4 binary file from the following link and unzip it:
-
Set an environment variable called
MULE_HOME
for themule
directory inside your extracted folder.Example for version 4.3.0 in the
Downloads
directory:-
On Windows environments:
$ env:MULE_HOME="C:\Downloads\mule-enterprise-standalone-4.3.0"
-
On Linux/Unix environments:
$ export MULE_HOME=~/Downloads/mule-enterprise-standalone-4.3.0
-
The procedure for making the MULE_HOME
setting permanent depends on your operating system.
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.
Update, Upgrade, or Migrate Mule Versions
MuleSoft releases new major, minor, and patch release versions of Mule, as well as monthly updates to patch releases of Mule that incorporate the latest bug fixes and security enhancements.
-
To update a patch version of Mule, see Update Patches to Mule Runtime Engine.
-
To upgrade to a later version of Mule 4, see Upgrading Mule Runtime Engine (Versions 4.x to 4.n).
-
For upgrades to a later version of Mule 3, see Upgrading Mule Runtime Engine (Versions 3.x to 3.n)
-
To migrate from Mule 3 to Mule 4, see Migration to Mule 4.