<array>
...
<string>-vm</string>
<string>/Library/Java/JavaVirtualMachines/jdk-1.8.0_271.jdk/Contents/Home/bin/java</string>
...
</array>
Downloading and Installing Anypoint Studio (OS X)
Prerequisites
-
Ensure that you have the Java SE JDK 8 installed and configured.
-
Download the Anypoint Studio installation file from the Download Site.
Installation
-
Extract the Anypoint Studio package and move it to your
/Applications
directory. -
Open the extracted Anypoint Studio.
-
Click OK to accept the default workspace.
-
You must Use an absolute path when defining your workspace because Anypoint Studio does not expand the
~
tilde used in Unix and Linux systems.
-
macOS 11.x Support
To run Studio 6 on macOS 11.x (Big Sur):
-
Go to your
/Applications
folder, right-click theAnypointStudio
package and select Show Package Contents. -
Go to
Contents
and open theinfo.plist
file. -
Inside the
<key>Eclipse</key>
tag, modify the<array>
tag to point to your VM path. For example:
Troubleshooting
If Anypoint Studio fails to load with a An Error Has Occurred message, you must configure it to point to your JDK installation as the default VM:
-
Go to your
/Applications
folder, right-click theAnypointStudio
package and select Show Package Contents. -
Go to
Contents
>Eclipse
, and open theAnypointStudio.ini
file. -
Add the -vm option to point to your specific JDK installation path.
-vm /Library/Java/JavaVirtualMachines/jdk1.8.0_191.jdk/Contents/Home/bin/java
-
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.
-