Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Eclipse Plug-in Developer Guide
Previous Page Home Next Page

Starting Eclipse from Java

Last modified June 1, 2007

The Eclipse Platform makes heavy use of Java class loaders for loading plug-ins. Even the Eclipse Runtime itself and the OSGi framework need to be loaded by special class loaders. Client programs, such as a Java main program or a servlet, cannot directly reference any part of Eclipse directly. Instead, a client must use the EclipseStarter class in org.eclipse.core.runtime.adaptor to start the platform, invoking functionality defined in plug-ins, and shutting down the platform when done.

Clients that do not need to access any particular function, but just need to start the platform, can use org.eclipse.equinox.launcher.Main.run() in the bundle org.eclipse.equinox.launcher. However, clients that need to invoke specific function should use EclipseStarter. See the javadoc inside this class for details.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire