Reputation: 487
I am working on an Eclipse plug-in project and I want to to be able run a specific class via this plug-in.
For example I added a button to the eclipse interface and I want this button runs one specific Java class.
I am looking through the tutorials etc but I couldn't find how to make this.
Is there anyone that can give me some intuition?
Best
Upvotes: 1
Views: 27
Reputation: 3669
You could use Runtime.exec(). But for a cleaner approach refer 'Commons Exec' library.
Upvotes: 2