![]() Previous |
![]() Next |
The JMC client executable file is located in the JDK Mission Control Installation
directory.
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, 2021, Oracle and/or its affiliates. All rights reserved. |
![]() Previous |
![]() Next |