Launching Java Applications

In Process factories, we saw how a system process is used to invoke a program and how wrapping it with an IProcess allows clients to access launch-related information about the process. These techniques are general and can be used to launch any external program from the platform.

Additional classes provided in the org.eclipse.jdt.debug plug-in provide support for launching a specific JRE with a specified classpath, arguments, VM arguments, and a main type. See the following references for more specific information about launching a Java application: