Oops.  The problem was that I forgot to import java.util.Vector
in the little class I tested.  I feel really stupid, now.

Russ




[EMAIL PROTECTED] on 03/11/99 01:35:23 PM

To:   Russell Pridemore@LEXMARK
cc:
Subject:  Re: Vector?





Russ,

I do believe that the problem is the
java that comes with RH5.2. I called
home and had a housemat try the compile
giving the full path to the jkd1.2/bin/javac.

They did not see the Vector.add() errors.
Do a which javac. You will probably see
/usr/local/bin/java or /usr/bin/java. In
my case, I forgot to set /usr/local/bin/java
as a link to my new build.

respectfully
dt

_________________________________________
        David R.Thompson
     Los Alamos National Laboratory
        TSA 5
        wk.ph:505.665.5572
        email:  [EMAIL PROTECTED]
_________________________________________


On Thu, 11 Mar 1999 [EMAIL PROTECTED] wrote:

> The sources *are* in jdk1.2/src.jar and the class files are
> in jdk1.2/jre/lib/rt.jar.  "unzip" works nicely on jar files, too.
>
> I don't know why the compiler can't find them.  I just
> wrote a simple test and got the same result...
>
> Russ
>
>
>
>
> [EMAIL PROTECTED] on 03/11/99 11:16:34 AM
>
> To:   [EMAIL PROTECTED]
> cc:   [EMAIL PROTECTED] (bcc: Russell
Pridemore/Lex/Lexmark)
> Subject:  Vector?
>
>
>
>
>
> Colleagues,
>
> Have the collection classes for java been completed
> to fit the API? I have installed jdk1.2 on my RH5.2
> system, and compiled some simple programs to see
> that it works. Then I attempted to compile some
> of my work that made heavy use of java.util.Vector
> and the compiler complained that java.util.Vector
> does not have an add(Object object) method. I
> then tried to replace the java.util.Vector with
> java.util.ArrayList as a work around. The compiler
> could not find java.util.ArrayList .
>
> I then decided to unpack the src.jar to see if these
> pieces were in the src, but when trying to run jar,
> the response indicated that there was no make method
> for jar?
>
> I am sure there is a simple explanation. If someone
> would educate me, I would appreciate the information.
>
> (I checked the FAQ and mail archives and did not find
> these issues addressed).
>
>
> Thank You
> Respectfully
> dt
>
> _________________________________________
>         David R.Thompson
>      Los Alamos National Laboratory
>         TSA 5
>         wk.ph:505.665.5572
>         email:  [EMAIL PROTECTED]
> _________________________________________
>
>
>
>
> ----------------------------------------------------------------------
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
>
>
>
>
>
>






----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to