Skip to main content

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, away until January 8th is currently offline Mickael Istria, away until January 8thFriend
Messages: 828
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: Mon May 21 22:53:23 GMT 2018

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

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

Back to the top