Hi,

I have defines an actionSet with one action. I would like this to, when invoked, launch an external jar file. Is this possible?

I have added the jar file to the java build path for the project.
and defines the class for the action. Here it is:

Java Code:
package instantmessengerplugin;

import java.io.IOException;


import org.eclipse.jface.action.Action;
import org.eclipse.jface.action.IAction;
import org.eclipse.jface.viewers.ISelection;
import org.eclipse.ui.IWorkbenchWindow;
import org.eclipse.ui.IWorkbenchWindowActionDelegate;


public class ActionClass implements IWorkbenchWindowActionDelegate {

	
	private IWorkbenchWindow window;
	
	
	@Override
	
	
	
	
	public void dispose() {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void init(IWorkbenchWindow window) {
		this.window = window;
		
	}

	@Override
	public void run(IAction arg0) {
		System.out.println("hello");
		Connection.main(null);
	}

	@Override
	public void selectionChanged(IAction arg0, ISelection arg1) {
		// TODO Auto-generated method stub
		
	}

}
the print statement executes just fine, so I now the run() method is being called.
Connection is a class in the jar which conatins the main method.

I have run the debugger but I don't quite understand what is being executed

Let me know if I should post the debug stack here.

I was wondering if maybe actions were not supposed to launch jar files or something like that.

Any help would be appreciated.