I want to restart my Equinox OSGI based command line application after performing automatic update with P2 during startup. Update works fine, it is recommended in some other posts to restart framework bundle by calling bundleContext.getBundle(0).update() method. When I call this method, all of bundles are seem to be restarted, but when I check versions of installed bundles with "ss" command, the updated bundles are still seem to remain in old versions. Updates are reflected only when I kill the application and restart it. How can I programmatically reflect bundle updates without killing and starting the application executable manually?