title: Where to find and install org.osgi.framework package?
body: <p>I am trying to follow this tutorial:</p>
  
  <p><a href="http://felix.apache.org/documentation/tutorials-examples-and-presentations/apache-felix-osgi-tutorial/apache-felix-tutorial-example-1.html" rel="nofollow noreferrer">apache felix tutorial #1</a></p>
  
  <p>But I don't understand the directory structure.  Where do I place the Activator.java file?  Where, relative to the Activator.java file do I place the MANIFEST.MF?</p>
  
  <p>In this tutorial when I try to compile the Activator.java file, I get errors that org.osgi.framework does not exist.  Where can I get the org.osgi.framework package and where should it be installed?  How does the javac build command know how to find the org.osgi.framework package?</p>
  
  <p>I am looking for a tutorial that explains what Karaf/Felix framework is and how to get simple examples to work.</p>
  
  <p>I have also tried to follow this tutorial:  <a href="http://kevinboone.net/osgitest.html" rel="nofollow noreferrer">http://kevinboone.net/osgitest.html</a></p>
  
  <p>but it is out of date and the building of the Tick bundle step fails.  Specifically, the command:</p>
  
  <pre><code>javac -d target/tick/classes -classpath /path/to/karaf/lib/karaf.jar src/net/kevinboone/osgitest/tick/*.java
  </code></pre>
  
  <p>Does not make sense because there is not a file "karaf.jar" in my karaf installation that I downloaded from <a href="https://karaf.apache.org/download.html" rel="nofollow noreferrer">karaf download site</a>.</p>
  
  <p>In the manifest file, there is the line:</p>
  
  <pre><code>Import-Package: org.osgi.framework
  </code></pre>
  
  <p>but this package does not seem to exist in the karaf installation?  </p>