Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.help > #798

Re: How to import - newbie question.

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail
From Jeff Higgins <jeff@invalid.invalid>
Newsgroups comp.lang.java.help
Subject Re: How to import - newbie question.
Date Tue, 21 Jun 2011 00:53:01 -0400
Organization A noiseless patient Spider
Lines 41
Message-ID <itp7q4$qfm$1@dont-email.me> (permalink)
References <6a6f9585-5605-4041-af1a-61d7e5225cea@u7g2000yqc.googlegroups.com> <itkkst$c8a$1@dont-email.me> <itkncf$qua$1@dont-email.me> <m6SdnXvYs6xX9GPQnZ2dnUVZ_gOdnZ2d@earthlink.com> <itlssr$jfc$1@dont-email.me> <itlthd$nc8$1@dont-email.me> <kM2dnfaDhOSdL2PQnZ2dnUVZ_jednZ2d@earthlink.com> <itngjc$e7n$1@dont-email.me> <7af6f915-6b3c-4f74-ac90-e8e6311ddf9a@b21g2000yqc.googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 8bit
Injection-Date Tue, 21 Jun 2011 04:48:04 +0000 (UTC)
Injection-Info mx04.eternal-september.org; posting-host="yplGUUrGzpiV4sv58weMcA"; logging-data="27126"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+A1SAklZq7wQMKGAh7xrBdrLbEJo0y0LE="
User-Agent Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10
In-Reply-To <7af6f915-6b3c-4f74-ac90-e8e6311ddf9a@b21g2000yqc.googlegroups.com>
Cancel-Lock sha1:sYnVCjoDAVKDeuSw49BBLqoNiGc=
Xref x330-a1.tempe.blueboxinc.net comp.lang.java.help:798

Show key headers only | View raw


On 06/20/2011 09:33 PM, leegold wrote:
> Hi,
>
> I'm now trying it on windows XP. Here's the error message:
>
> C:\Documents and Settings\user1\My Documents\java>javac htmlunit1.java
> htmlunit1.java:3: package com.gargoylesoftware.htmlunit does not exist
> import com.gargoylesoftware.htmlunit.WebClient;→
>                                      ^
> 1 error
>
> ----
>
> The source is just one line I try:
>
> import com.gargoylesoftware.htmlunit.WebClient;
>
> ----
>
> In my path I put:
>
> C:\htmlumit\lib;
>
> that's the path to the jar files..

try javac -cp C:\htmlunit\lib\* htmlunit1.java

>
> Normal javac works for any default included classes in java OK. I am
> using Windows XP. I know this is basic but everything I've tried so
> far
> hasn't worked. Thanks.
>
> If i can get that one line to work then it'll all work. I'm not going
> to press too hard for a spoon fed answer, I'll eventually figure it
> out...
>
> Lee G.
>
>

Back to comp.lang.java.help | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

How to import - newbie question. leegold <goldtech@worldpost.com> - 2011-06-18 21:41 -0700
  Re: How to import - newbie question. Jeff Higgins <jeff@invalid.invalid> - 2011-06-19 07:05 -0400
    Re: How to import - newbie question. Jeff Higgins <jeff@invalid.invalid> - 2011-06-19 07:48 -0400
      Re: How to import - newbie question. Patricia Shanahan <pats@acm.org> - 2011-06-19 14:27 -0700
        Re: How to import - newbie question. Jeff Higgins <jeff@invalid.invalid> - 2011-06-19 18:28 -0400
          Re: How to import - newbie question. Jeff Higgins <jeff@invalid.invalid> - 2011-06-19 18:39 -0400
            Re: How to import - newbie question. Patricia Shanahan <pats@acm.org> - 2011-06-19 19:35 -0700
              Re: How to import - newbie question. Jeff Higgins <jeff@invalid.invalid> - 2011-06-20 09:10 -0400
                Re: How to import - newbie question. leegold <goldtech@worldpost.com> - 2011-06-20 18:33 -0700
                Re: How to import - newbie question. Patricia Shanahan <pats@acm.org> - 2011-06-20 19:29 -0700
                Re: How to import - newbie question. Lew Bloch <lewisbloch@google.com> - 2011-06-21 14:35 -0700
                Re: How to import - newbie question. Jeff Higgins <jeff@invalid.invalid> - 2011-06-21 00:53 -0400
  Re: How to import - newbie question. Roedy Green <see_website@mindprod.com.invalid> - 2011-06-20 02:22 -0700

csiph-web