Run Eclipse Equinox (3.9 or 3.8) with minimum bundles (jars) …….


Shameera's Tech World

Following is how you can run equinox framework version 3.8 with minimum bundles. This is valid for 3.9 version too.(Note you need to use compatible felix bundles with 3.9 framework)

Step 1:Download and put following 5 bundles to a directory

1. org.eclipse.osgi_3.8.2.v.jar – Equinox framework bundle
From equinox 3.8, framework bundle don’t has console it self, we need to provide felix console bundles to run osgi console commands.
2. org.apache.felix.gogo.command_0.8.0.v.jar
3. org.apache.felix.gogo.runtime_0.8.0.v.jar
4. org.apache.felix.gogo.shell_0.8.0.v.jar
This is optional , without following jar still you will get osgi console but you can’t run, osgi command like ‘ss’ ‘ls’ etc.. you can use only command limited felix and gogo scopes like, felix: and gogo:.
5. org.eclipse.equinox.console_1.0.0.v.jar

Step 2 : open the terminal and go to above directory and run following command.

'java -Dosgi.bundles=org.apache.felix.gogo.command_0.8.0.v.jar@start,org.apache.felix.gogo.shell_0.8.0.v.jar@start,org.apache.felix.gogo.runtime_0.8.0.v.jar@start,org.eclipse.equinox.console_1.0.0.v.jar@start -jar org.eclipse.osgi_3.8.2.v.jar -console'

You will see “osgi>” in terminal, if so here we go we are in osgi console…

View original post 26 more words

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s