The fact that the OSGi console reports that the plug-in is STARTING not discussed below, but it is the approach by which I got my plug-in to start immediately after starting Eclipse.
As Chris Gerken points out in the commentary , the startup code only runs when trying to use one of the plugin extensions.
Using the org.eclipse.ui.startup extension, you can register a plugin that wants to be activated at startup. This can be configured using the manifest editor.
- Add
org.eclipse.ui as a dependency in the Dependencies tab. - On the Extensions tab, add a launch extension (
org.eclipse.ui.startup ). - Under "Extension Element Details", a class is provided that implements
org.eclipse.ui.IStartup .

TaskManager.java
public class TaskManager implements IStartup { @Override public void earlyStartup() {
source share