Description: The JMC client executable file is located in the bin directory of the Java SE Development Kit (JDK) installation path (JAVA_HOME).

Go to primary content

| Previous | Next |

# Starting the JDK Mission Control Client

The JMC client executable file is located in the `JDK Mission Control Installation` directory.

You can start the JMC client by entering below mentioned path to the JMC Executable at the command-line prompt (shell):

- `INSTALLATION_DIRECTORY\JDK Mission Control\jmc.exe` (Windows)
- `INSTALLATION_DIRECTORY/JDK Mission Control/jmc` (Linux, MacOS)

Note:

On MacOS, if you cannot find the JMC executable or locate JMC in Spotlight, you can start JMC from the command line using `/INSTALLATION_DIRECTORY/JDK Mission Control.app/Contents/MacOS/jmc`.

Note:

On MacOS, when you launch the JMC executable, the Terminal window opens. When you close the JMC client, the Terminal is left behind with the text `[Process completed]`. To avoid this, open the Terminal Preferences, then open the Settings tab, select the scheme you use, then select the Shell tab, and change the When the shell exits option to Close if the shell exited cleanly.

Passing JVM Options To the JMC Launcher

JMC is a Java application, and the JMC client executable is a launcher for this application. JMC startup is controlled by options specified in the `jmc.ini` file, which is located in the `INSTALLATION_DIRECTORY\JDK Mission Control` directory (Windows and Linux) and `INSTALLATION_DIRECTORY\JDK Mission Control.app\Contents\Eclipse` directory (MacOS). Arguments to the `-vmargs` option in the `jmc.ini` file are options that are passed to the JVM running the JMC application. You can specify these options to control the way this JVM runs. If you do not want to modify the `jmc.ini` file, you can specify JVM options on the command line as arguments to the `-vmargs` option of the `jmc` command.

To start the JMC client with your own set of JVM options (overriding those specified in the `jmc.ini` file), run the following command (separate multiple arguments with spaces):

    jmc -vmarg arguments

Note:

If other options are specified for the `jmc` command, the `-vmargs` option must be specified last.

To start the JMC client with additional JVM options (appending them to those specified in the `jmc.ini` file), run the following command (separate multiple arguments with spaces):

    jmc --launcher.appendVmargs -vmarg arguments

Using a Workspace Directory

If you want to copy your settings for the JMC client to another computer or another user, or use different predefined settings for different applications, add the `-data` command-line option and define a workspace directory when you start the JMC client:

    jmc -data workspace-directory

Copyright © 2018, 2022, Oracle and/or its affiliates. All rights reserved. | Previous | Next |