title: Running HtmlUnit with Jython - issue with startup on command line
body: <p>I tried to run HtmlUnit with Jython following this tutorial:</p>
  
  <p><a href="http://blog.databigbang.com/web-scraping-ajax-and-javascript-sites/" rel="nofollow">http://blog.databigbang.com/web-scraping-ajax-and-javascript-sites/</a></p>
  
  <p>but it does not work for me. I am unable to import the <em>com.gargoylesoftvare</em> packages, there are only some HTML files in HtmlUnit folder, which I need to import somehow?</p>
  
  <p>The tutorial says to run python script like this:</p>
  
  <pre><code>/opt/jython/jython -J-classpath "htmlunit-2.8/lib/*" gartner.py
  </code></pre>
  
  <p>and I try to run:</p>
  
  <pre><code>java -jar /Users/adam/jython/jython.jar -J-classpath "htmlunit-2.8/lib/*" gartner.py
  </code></pre>
  
  <p>My problem is I am getting an "Unknown option: J-classpath". But there is not even word about -J-classpath parameter on Jython.org. I would be VERY glad for any advice. I am running jython standalone v. 2.5.2 on Snow Leopard</p>