Iam using OSGi frame work in eclipse(Equinox)for developing some application .Actually iam new to OSGi framework.while iam trying to run the program in eclipse using start commant (osgi> start)'No bundles speicified ' is showing.Message 'Framework is shutdown' is showing while checking whether the frame work is installed or not using the commant(osgi> ss) .I also include the jar file for Equinox(org.eclipse.osgi_3.4.2.R34x_v20080826-1230.jar).following is the code
package testosgi;
import org.osgi.framework.BundleActivator;
import org.osgi.framework.BundleContext;
public class Activator implements BundleActivator {
/*
* (non-Javadoc)
* @see org.osgi.framework.BundleActivator#start(org.osgi.framework.BundleContext)
*/
public void start(BundleContext context) throws Exception {
System.out.println("Hello java World!!");
}
/*
* (non-Javadoc)
* @see org.osgi.framework.BundleActivator#stop(org.osgi.framework.BundleContext)
*/
public void stop(BundleContext context) throws Exception {
System.out.println("Goodbye java World!!");
}
}
-Dosgi.noShutdown=true? Please update your question. - Paul Webster