Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!border3.nntp.dca.giganews.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail NNTP-Posting-Date: Mon, 20 Jun 2011 21:29:47 -0500 Date: Mon, 20 Jun 2011 19:29:41 -0700 From: Patricia Shanahan User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10 MIME-Version: 1.0 Newsgroups: comp.lang.java.help Subject: Re: How to import - newbie question. References: <6a6f9585-5605-4041-af1a-61d7e5225cea@u7g2000yqc.googlegroups.com> <7af6f915-6b3c-4f74-ac90-e8e6311ddf9a@b21g2000yqc.googlegroups.com> In-Reply-To: <7af6f915-6b3c-4f74-ac90-e8e6311ddf9a@b21g2000yqc.googlegroups.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Message-ID: Lines: 19 X-Usenet-Provider: http://www.giganews.com NNTP-Posting-Host: 70.230.196.78 X-Trace: sv3-QZVaCYSxyxA3Yhn8/BWv1yA96WeOrsHyFeXd5jsNoavXaL98pQEERGwEiJI6xbCjo3OJeEK0/If7QRe!S4bMX8rZaji7YYTqt0CErHTjJwjUyE1+X4y0J/Cw3zqs25Plp0OvUhgLnokHFQRp79vvv2tmLo//!bD2EMKAmB3SuOY4ZY2EUDqWXoIARfdirdBSwrY6PKKsK/g== X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 1961 Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.help:797 On 6/20/2011 6:33 PM, leegold wrote: ... > In my path I put: > > C:\htmlumit\lib; > > that's the path to the jar files.. Are you aware that path and classpath are different things? See the example Jeff Higgins posted: javac -classpath /home/myhome/htmlunit/commons-logging-1.1.1.jar Scratch.java You need to specify, in the classpath, each jar file you want searched for classes. Patricia