# Starting Eclipse from Java

Last modified 09:00 Wednesday June 23, 2004

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.core.launcher.Main.run()` in `startup.jar`. However, clients that need to invoke specific function should use EclipseStarter. See the javadoc inside this class for details.