Configure Eclipse with Mission Control

The tutorial will be easier to run if you have an Eclipse installed. You will need an Eclipse Oxygen 4.8.0 or later. You will also need to add some VM arguments.

Mission Control JVM Arguments

For example:


Depending on your platform you will also need to add one final export.

Java Mission Control on Windows

If running on Windows, also add:


If running on Mac OS, also add:


If running on Linux, also add:


You may also want to ensure that your newly setup JDK is being used for running Eclipse. This can be enforced by using the -vm option in the eclipse.ini file. Don’t forget that the -vmargs option must be last in the file. For example:


Add the Mission Cnotrol Eclipse plug-ins

Next you will want to add the JMC plug-ins. Once JMC is released, this will be as simple as going to the Eclipse market place. For now, you will need to build them yourself. Install mercurial (if you don’t already have it) and run the following command in the folder you wish to clone the JMC source:

hg clone

Follow the instructions in the found in the root of the JMC repository on how to create and access the update sites for Eclipse.

Java Mission Control tutorial projects

To import the projects into Eclipse, create a new Workspace and simply import all the projects available in the projects folder.

Running the JMC JFR Tutorial

There is a PDF in the root of this project explaining in detail how to run the JMC labs. If running the labs from within Eclipse, first ensure that you have set up an Eclipse properly, added the plug-in version of JMC, and imported the projects.

This Java Mission Control and Flight Recorder tutorial is for learning how to use JDK Mission Contol. It is provided under GPLv3 as is. If you find a problem, please open a ticket or feel free to provide a pull request.