Skip to content

Commit 733aacf

Browse files
author
Suchita Chaturvedi
committed
6753: JMC Help Documentation requires corrections
Reviewed-by: hirt
1 parent 369c150 commit 733aacf

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

application/org.openjdk.jmc.docs/html/GUID-E898FF59-2205-49AA-918A-1C9F792BFC54.htm

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -51,15 +51,14 @@
5151
</tr>
5252
</table><div class="ind"><a id="GUID-E898FF59-2205-49AA-918A-1C9F792BFC54" name="GUID-E898FF59-2205-49AA-918A-1C9F792BFC54"></a><!-- End Header -->
5353
<h1 id="JMCOH-GUID-E898FF59-2205-49AA-918A-1C9F792BFC54" class="sect1">Starting the JDK Mission Control Client</h1>
54-
<div><p>The JMC client executable file is located in the&#160;<code>bin</code>&#160;directory of the Java SE Development Kit (JDK) installation path (<code>JAVA_HOME</code>).</p>
55-
<div class="p">If the&#160;<code>JAVA_HOME/bin</code>&#160;directory is in the&#160;<code>PATH</code>&#160;environment variable, you can start the JMC client by entering&#160;<code>jmc</code>&#160;at the command-line prompt (shell). Otherwise, you have to specify the full path to the JMC executable:<ul style="list-style-type: disc;"><li><tt>JAVA_HOME\bin\jmc.exe</tt> (Windows)</li>
56-
<li><tt>JAVA_HOME/bin/jmc</tt> (Linux, OS X)</li>
54+
<div><p>The JMC client executable file is located in the&#160;<code>JDK Mission Control Installation</code>&#160;directory.</p>
55+
<div class="p">You can start the JMC client by entering below mentioned path to the JMC Executable at the command-line prompt (shell):<ul style="list-style-type: disc;"><li><tt>INSTALLATION_DIRECTORY\JDK Mission Control\jmc.exe</tt> (Windows)</li>
56+
<li><tt>INSTALLATION_DIRECTORY/JDK Mission Control/jmc</tt> (Linux, MacOS)</li>
5757
</ul>
5858
</div>
59-
<div class="infoboxnote" id="GUID-E898FF59-2205-49AA-918A-1C9F792BFC54__GUID-F9E7A833-D515-44CE-B58C-5640AC965EA6"><p class="notep1">Note:</p>On Windows, a shortcut to the JMC client executable is added to the&#160;<span class="bold">Java Development Kit</span>&#160;folder under&#160;<span class="bold">All Programs</span>&#160;in the&#160;<span class="bold">Start</span>&#160;menu.</div>
60-
<div class="infoboxnote" id="GUID-E898FF59-2205-49AA-918A-1C9F792BFC54__GUID-FDFAE1BF-C979-42BB-AFF0-A1126CFA8EA2"><p class="notep1">Note:</p>On OS X, if you cannot find the JMC executable or locate JMC in Spotlight, you can start JMC from the command line using <tt>/Library/Java/JavaVirtualMachines/jdk<span class="italic">&lt;version&gt;</span>.jdk/Contents/Home/bin/jmc</tt>. Alternatively, use Finder to browse to <tt>/Library/Java/JavaVirtualMachines/jdk<span class="italic">&lt;version&gt;</span>.jdk/Contents/Home/lib/missioncontrol</tt> and double-click the JDK Mission Control app.</div>
61-
<div class="infoboxnote" id="GUID-E898FF59-2205-49AA-918A-1C9F792BFC54__GUID-3D3C37AC-1B49-4A2C-8390-99A9CEEA465D"><p class="notep1">Note:</p>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&#160;<code>[Process completed]</code>. To avoid this, open the Terminal&#160;<span class="bold">Preferences</span>, then open the&#160;<span class="bold">Settings</span>&#160;tab, select the scheme you use, then select the&#160;<span class="bold">Shell</span>&#160;tab, and change the&#160;<span class="bold">When the shell exits</span> option to&#160;<span class="bold">Close if the shell exited cleanly</span>.</div>
62-
<div class="section"><p class="subhead1">Passing JVM Options To the JMC Launcher</p><p>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&#160;<tt>jmc.ini</tt>&#160;file, which is located in the&#160;<tt>JAVA_HOME/lib/missioncontrol</tt>&#160;directory. Arguments to the&#160;<code>-vmargs</code>&#160;option in the&#160;<code>jmc.ini</code>&#160;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&#160;<code>jmc.ini</code>&#160;file, you can specify JVM options on the command line as arguments to the&#160;<code>-vmargs</code>&#160;option of the&#160;<code>jmc</code>&#160;command. </p>
59+
<div class="infoboxnote" id="GUID-E898FF59-2205-49AA-918A-1C9F792BFC54__GUID-FDFAE1BF-C979-42BB-AFF0-A1126CFA8EA2"><p class="notep1">Note:</p>On MacOS, if you cannot find the JMC executable or locate JMC in Spotlight, you can start JMC from the command line using <tt>/INSTALLATION_DIRECTORY/JDK Mission Control.app/Contents/MacOS/jmc</tt>.</div>
60+
<div class="infoboxnote" id="GUID-E898FF59-2205-49AA-918A-1C9F792BFC54__GUID-3D3C37AC-1B49-4A2C-8390-99A9CEEA465D"><p class="notep1">Note:</p>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&#160;<code>[Process completed]</code>. To avoid this, open the Terminal&#160;<span class="bold">Preferences</span>, then open the&#160;<span class="bold">Settings</span>&#160;tab, select the scheme you use, then select the&#160;<span class="bold">Shell</span>&#160;tab, and change the&#160;<span class="bold">When the shell exits</span> option to&#160;<span class="bold">Close if the shell exited cleanly</span>.</div>
61+
<div class="section"><p class="subhead1">Passing JVM Options To the JMC Launcher</p><p>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&#160;<tt>jmc.ini</tt>&#160;file, which is located in the&#160;<tt>INSTALLATION_DIRECTORY\JDK Mission Control</tt>&#160;directory (Windows and Linux) and&#160;<tt>INSTALLATION_DIRECTORY\JDK Mission Control.app\Contents\Eclipse</tt>&#160;directory (MacOS). Arguments to the&#160;<code>-vmargs</code>&#160;option in the&#160;<code>jmc.ini</code>&#160;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&#160;<code>jmc.ini</code>&#160;file, you can specify JVM options on the command line as arguments to the&#160;<code>-vmargs</code>&#160;option of the&#160;<code>jmc</code>&#160;command. </p>
6362
<p>To start the JMC client with your own set of JVM options (overriding those specified in the&#160;<code>jmc.ini</code>&#160;file), run the following command (separate multiple arguments with spaces):</p>
6463
<div class="p"><pre class="oac_no_warn" dir="ltr">jmc -vmarg&#160;<span class="italic">arguments</span></pre>
6564
</div>

0 commit comments

Comments
 (0)