top of page
BlogPageTop

Trending

ADVERTISEMENT

MuleSoft Anypoint Studio Download

Updated: Nov 21, 2022

In this blog, you will download the latest version of anypoint studio and install it. Before downloading anypoint studio, some prerequisites need to be made.


JDK Download

Before you download JDK, understand the difference between JRE, JDK & JVM. This is necessary as you might see several versions of Java already running on your machine.


JRE is Java Runtime Environment that fulfills the basic requirements which are needed to run any Java application on your machine. It contains a JVM (Java Virtual Machine) and other required classes needed to support JRE and run any application. Now, JDK (Java Development Kit) is a full fledge software development kit used to develop any Java application. JDK includes JRE and thus a virtual machine (JVM) as well which is needed to develop, execute and test any Java application. JDK > JRE > JVM > Objects & Classes & other needed files.

Now, check if Java is already installed on your machine. For windows or Mac, run this command on the command prompt/ terminal


java -version


You will get output like this


java version "9.0.1"

Java(TM) SE Runtime Environment (build 9.0.1+11)

Java HotSpot(TM) 64-Bit Server VM (build 9.0.1+11, mixed mode)


or, something like this


java version "1.8.0_341"

Java(TM) SE Runtime Environment (build 1.8.0_341-b25)

Java HotSpot(TM) 64-Bit Server VM (build 25.341-b25, mixed mode)


What's the difference between the above two examples?


Example first shows that you have installed JDK 9 in past and the second example shows you have installed JRE in past. Now I think you are clear on what's the difference here.


Most probably you will already have JRE running on your machine as it's needed to run several other Java applications (not for development but for execution) and that does not mean you don't need JDK. For anypoint studio installation you need JDK.

Download & Install JDK

Download the latest version of JDK - https://www.oracle.com/java/technologies/downloads/


Java JDK download

Once you install JDK, let's say stable version which is JDK 17 at this point in time. Run the java -version command again to validate the installation. You might see the old/existing version here.


If you already had Java installed on your machine JRE or JDK earlier, you have to go to your program files and check if JDK got installed (OSDisk (C:) > Program Files > Java and you might see multiple JDK/JRE files there, which is expected and okay).
Configuring User Environment Variable for JDK

Once JDK is installed, you need to add a path variable to environment user variables so that we can tell Anypoint Studio which Java executable to use.

  1. Search 🔎 "environment variables" on your windows machine which will open system properties > advanced > environment variables.

  2. Click on Environment Variables > New (User variable, not System variable).

  3. Define New User Variable with Variable name: JAVA_HOME & Variable value: C:\Program Files\Java\jdk-17.0.4 and press OK.

Copy the path from your local machine (OSDisk (C:) > Program Files > Java), do not just copy and paste the above path. That's just an example. If you plan to install newer version of JDK, you can simply update the JAVA_HOME variable.

Create a new path variable

  1. Search 🔎 "environment variables" on your windows machine which will open system properties > advanced > environment variables.

  2. See the variables defined under User variables.

  3. If there is no "path" variable then create a New > Variable name: path & Variable value: %JAVA_HOME%\bin

  4. If there is an existing "path" variable (most probably you will have this) > Select "path" variable > Edit > New > and enter value as %JAVA_HOME%\bin

Reboot your system and run the path command on your command prompt and that should give you JDK 17 (or whichever version you installed)

Example output


C:\Users\Dataneb>path

PATH=c:\Program Files\Java\jdk-17.0.4\bin;


Download Anypoint Studio

In order to download Anypoint Studio, go to https://www.mulesoft.com/lp/dl/studio, or if you want to download any previous versions go to https://www.mulesoft.com/lp/dl/studio/previous. Fill out the form and download it.


Step 1

  • Sample downloaded file name: AnypointStudio-7.13.0-win64.zip

  • Create a new folder under OSDisk(C:) > Mulesoft

  • Extract the downloaded file. Right-click on downloaded file > Click extract all > Browse > Select the folder C:/Mulesoft > Extract

  • Final path OSDisk(C:) > Mulesoft > AnypointStudio > configuration/ features/ license / etc..

Step 2

  • In order to tell AnypointStudio which JDK to use, you need to update the AnypointStudio.ini file.

  • Navigate to path OSDisk(C:) > Mulesoft > AnypointStudio and edit AnypointStudio.ini file in notepad.

  • Uncomment the following 2 lines to configure a specific JDK path, and save and close the file.

Example

-vm

C:\Program Files\Java\jdk-17.0.4\bin\javaw.exe


Note the difference between java.exe and javaw.exe, both are java executables on windows platform. Java.exe is the console app while Javaw.exe is console-less.

Step 3

  • Run AnypointStudio.exe



Comments


Want to share your thoughts about this blog?

Disclaimer: Please note that the information provided on this website is for general informational purposes only and should not be taken as legal advice. Dataneb is a platform for individuals to share their personal experiences with visa and immigration processes, and their views and opinions may not necessarily reflect those of the website owners or administrators. While we strive to keep the information up-to-date and accurate, we make no representations or warranties of any kind, express or implied, about the completeness, accuracy, reliability, suitability, or availability with respect to the website or the information, products, services, or related graphics contained on the website for any purpose. Any reliance you place on such information is therefore strictly at your own risk. We strongly advise that you consult with a qualified immigration attorney or official government agencies for any specific questions or concerns related to your individual situation. We are not responsible for any losses, damages, or legal disputes arising from the use of information provided on this website. By using this website, you acknowledge and agree to the above disclaimer and Google's Terms of Use (https://policies.google.com/terms) and Privacy Policy (https://policies.google.com/privacy).

RECOMMENDED FROM DATANEB

Struggle2.png

Create SSIS package in Visual Studio 2017

In this tutorial, you will learn how to create an SSIS (SQL Server Integration Services) package in Visual Studio 2017 step by step. For...

Feb 23, 2024

Struggle2.png

What is SparkContext (Scala)?

Main menu: Spark Scala Tutorial In this blog you will learn, How to start spark-shell? Understanding Spark-shell. Creating Spark context...

Nov 18, 2022

Struggle2.png

SQL Server 2014 Standard Download & Installation

In this post, you will learn how to download and install SQL Server 2014 from an ISO image. I will also download the AdventureWorks...

Apr 08, 2023

bottom of page