Go to primary content
Previous
Previous
Next
Next

Starting the JDK Mission Control Client

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

If the JAVA_HOME/bin directory is in the PATH environment variable, you can start the JMC client by entering jmc at the command-line prompt (shell). Otherwise, you have to specify the full path to the JMC executable:
  • JAVA_HOME\bin\jmc.exe (Windows)
  • JAVA_HOME/bin/jmc (Linux, OS X)

Note:

On Windows, a shortcut to the JMC client executable is added to the Java Development Kit folder under All Programs in the Start menu.

Note:

On OS X, if you cannot find the JMC executable or locate JMC in Spotlight, you can start JMC from the command line using /Library/Java/JavaVirtualMachines/jdk<version>.jdk/Contents/Home/bin/jmc. Alternatively, use Finder to browse to /Library/Java/JavaVirtualMachines/jdk<version>.jdk/Contents/Home/lib/missioncontrol and double-click the JDK Mission Control app.

Note:

On OS X, 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 JAVA_HOME/lib/missioncontrol directory. 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

Previous
Previous
Next
Next