Install Mulesoft Anypoint Studio on MacOS

Anthony Ng
1 min readFeb 2, 2019

--

It took me a while to figure out the installation of Anypoint Studio on Mojave. The first problem was the Anypoint Studio is only working on a particular JDK version. The second problem was that the Application could not launch unless you have pointed to the JDK bin directory. However there is no way to configure before the launch fails with the useless error message.

To solve the first problem, I have tried out a few combinations and Anypoint Studio 6.4, and JDK 8u151 is the least I know working happily so far.

Download this JDK if you don’t have it installed.

Here is the link for Anypoint Studio 6.4 (759MB)

Extract the zip file and place the AnypointStudio to Applications folder

Point to the JDK bin directory

  1. Right click on AnypointStudio and choose Show Package Contents
  2. Edit Contents > Eclipse > AnypointStudio.ini
  3. Add -vm switch with the JDK path, for example /Library/Java/JavaVirtualMachines/jdk1.8.0_151.jdk/Contents/Home/bin
  4. Save

Example:

-startup ../Eclipse/plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar 
--launcher.library ../Eclipse/plugins/org.eclipse.equinox.launcher.cocoa.macosx.x86_64_1.1.300.v20150602-1417
-vm /Library/Java/JavaVirtualMachines/jdk1.8.0_151.jdk/Contents/Home/bin -vmargs -Xms512m -Xmx1024m -XX:MaxPermSize=512m
-Dosgi.instance.area.default=@user.home/AnypointStudio/workspace
-Dhttps.protocols=TLSv1,TLSv1.1,TLSv1.2
-Djava.awt.headless=true
-XstartOnFirstThread
-Dorg.eclipse.swt.internal.carbon.smallFonts

Start the application

Double click AnypointStudio to start.

--

--

Anthony Ng
Anthony Ng

No responses yet