Contact Free trial Login

Downloading and Installing Anypoint Studio (Windows)

Prerequisites

  • Ensure that you have the Java SE JDK 8 installed and configured.

  • Download the Anypoint Studio installation file from the Download Site.

After downloading and installing the JDK, ensure that your JDK installation is properly configured within the JAVA_HOME environment variable:

  1. In Search, search for System (Control Panel) and select it.

  2. Click Advanced System Settings.

  3. Click Environment Variables.

  4. In System Variables, look for the PATH environment variable:

    • If PATH is visible, select it and click Edit to navigate to Edit System Variable.

    • If PATH is not visible, click New to navigate to New System Variable.

  5. Ensure that the /bin directory of your JDK 1.8.0 installation is the first item in your PATH environment variable.

    • Blank spaces are not allowed when defining a path on Windows.
      You must use the %ProgramFiles% or %ProgramFiles(x86)% environment variables provided by Windows to refer to your \Program Files\ or \Program Files (x86)\ directories.

  6. Click OK.

Installation

  1. Extract the Windows installation file into the C:\ root folder.

    • If you are using a Windows antivirus application, ensure that the plugin/ and features/ directories are under the trusted category.

  2. Open the extracted Anypoint Studio.

  3. Click OK to accept the default workspace.

    • If you choose to use an existing workspace, this must have been created using Anypoint Studio 7.0 or later.
      Studio 7.x supports only Mule 4.x projects, because the structure of the project, export format, XML, and scripting language are different than the ones used by Mule 3.x.

Troubleshooting

If Anypoint Studio fails to load with a An Error Has Occured message, you must configure it to point to your JDK installation as the default VM:

  1. Locate your AnypointStudio.ini file inside your Anypoint Studio’s installation directory.

  2. Add the -vm option to point to your specific JDK installation path.

    -vm
    C:\%ProgramFiles%\Java\jdk1.8.0_73\bin\javaw.exe
    • Blank spaces are not allowed when defining a path on Windows.
      You must use the %ProgramFiles% or %ProgramFiles(x86)% environment variables provided by Windows to refer to your \Program Files\ or \Program Files (x86)\ directories.

    • The -vm option and the installation path must be on separate lines.

    • The value must be the full absolute or relative path to the Java executable, not just to the Java home directory.

    • The -vm option must occur after the other Studio-specific options (such as -product, --launcher.*, etc), but before the -vmargs option.

      If you encounter Java was started but returned exit code=1 while starting Anypoint Studio, modify the -vm argument to point to the jvm.dll:

      -vm
      C:\%ProgramFiles%\Java\jdk1.8.0_73\jre\bin\server\jvm.dll