title: Why does Jython refuse to find my Java package?
body: <p>I know it's something silly, but for some reason Jython refuses to find javax.swing.  I'm using Java 1.6.0_11.  This is my start-up script:</p>
  
  <pre><code>@echo off
  
  "%JAVA_HOME%\bin\java" -Xmx1024M -classpath ".;c:\Projects\Jython2.5.1\jython.jar" org.python.util.jython 
  </code></pre>
  
  <p>My output looks like:</p>
  
  <pre><code>Jython 2.5.1 (Release_2_5_1:6813, Sep 26 2009, 13:47:54)
  [Java HotSpot(TM) Client VM (Sun Microsystems Inc.)] on java1.6.0_10
  Type "help", "copyright", "credits" or "license" for more information.
  &gt;&gt;&gt; import javax.swing
  Traceback (most recent call last):
    File "&lt;stdin&gt;", line 1, in &lt;module&gt;
  ImportError: No module named swing
  &gt;&gt;&gt; import javax
  &gt;&gt;&gt; dir(javax)
  ['__name__']
  &gt;&gt;&gt;
  </code></pre>