Run jVisualVM from the
VisualVM lists all Java processes that can be profiled by it on the local machine under the Local node. You can see VisualVM itself listed along with Eclipse. Once you run the
CourseManagement application, the process should also show up under Local.
Double-click on the process (or right-click and select Open). Go to the Profile tab. Then, click the CPU button.