title: Standalone OSGi (Equinox) server  on Eclipse Juno
body: <p>I'm trying to get the osgi server from the Eclipse Juno Release and run it standalone. Some old tutorials say that just grabbing the <code>org.eclipse.osgi_VERSION.jar</code> is enough to start it from the command line as</p>
  
  <pre><code>java -jar  org.eclipse.osgi_VERSION.jar -console
  </code></pre>
  
  <p>When I try that, it doesn't show the prompt as expected, but instead sits quietly as if waiting for something to happen.</p>
  
  <p>However, I can comfortably start and install bundles by doing a  <code>./eclipse -console</code>, which obviously isn't an option when running on the server, where I want to deploy bundles at runtime.</p>
  
  <p>Some googling revealed I need to gather up jars (even Apache Felix's gogo) from here and there, but couldn't find anything concrete that would allow me to run this thing in a "headless" fashion.</p>
  
  <p>Is there a way to do this in a clean and simple way, or would you suggest shifting to Apache Felix?</p>