Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Run a java application from an eclipse plugin
Run a java application from an eclipse plugin [message #1030491] Sun, 31 March 2013 08:01 Go to next message
yosra ben  sghaier is currently offline yosra ben sghaierFriend
Messages: 1
Registered: March 2013
Junior Member
Is it possible to run a java application programmatically from an eclipse plugin?
I am creating a plugin where I need to launch a java application from it.

Thank you.
Re: Run a java application from an eclipse plugin [message #1032775 is a reply to message #1030491] Wed, 03 April 2013 12:19 Go to previous message
Mickael Istria is currently offline Mickael IstriaFriend
Messages: 795
Registered: July 2009
Location: Grenoble, France
Senior Member
If you just want to run a Java application from an Eclipse plugin (or
any Java code), the best thing is probably to use the ProcessBuilder.

In an Eclipse plugin, you could rely on the org.eclipse.jdt.launching
plugin which provides some better ways to start a new Java process, with
a better integration in existing Eclipse tools (Console, debugger...)

If you want to create your custom launch configuration to the IDE, that
would appear in the "Run" menu, you should read that:

Mickael Istria
JBoss, by Red Hat
My blog:
My Tweets:
Previous Topic:No property tester contributes a property
Next Topic:Partition rule to ignore inner end sequences?
Goto Forum:

Current Time: Thu May 26 10:58:08 GMT 2016

Powered by FUDForum. Page generated in 0.02219 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software