Free MuleSoft CONNECT Keynote & Expo Pass Available!

Register now+
Nav
You are viewing an older version of this section. Click here to navigate to the latest version.

To Configure Studio’s Default VM (Linux)

To configure the default VM for Anypoint Studio:

  1. Locate your AnypointStudio.ini file:

    This file is located in /usr/lib/anypointstudio/anypointstudio.ini.

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

    
                
             
    1
    2
    
    -vm
    /opt/sun-jdk-1.8.0.73/bin/java

When configuring the -vm option, its format must be exact:

  • The -vm option and the installation path must be in 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, since everything after -vmargs is passed directly to the JVM.

In this topic: