![]() Previous |
![]() Next |
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 |
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 |
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/bin
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.
Note: If other options are specified for the |
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
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