The Artima Developer Community
Sponsored Link

Java Answers Forum
How to install com.bruceeckel.simpletest

3 replies on 1 page. Most recent reply: Oct 27, 2003 4:22 PM by Charles Keller

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 3 replies on 1 page
Charles Keller

Posts: 8
Nickname: cgkeller
Registered: Oct, 2003

How to install com.bruceeckel.simpletest Posted: Oct 27, 2003 9:13 AM
Reply to this message Reply
Advertisement
Do I need to install "ant" or can I import "com.bruceeckel.simpletest" without "ant"?
What does "import" mean: is it actually downloading the file from the web to my hard-disk or only accessing the web in order to use "com.bruceeckel.simpletest".
I tried to run C.03-ifElse.java and I get this error:
ifElse.java:4: package com.bruceeckel.simpletest does not exist.
You help will be much appreciated.
Charles.


Dave Hinton

Posts: 42
Nickname: catbells
Registered: Oct, 2003

Re: How to install com.bruceeckel.simpletest Posted: Oct 27, 2003 11:14 AM
Reply to this message Reply
"import" means neither of those things. It tells the compiler that you are using that class or package. You need to have already downloaded and installed the package before you can use it in your programs.

I don't know about this specific package. But in general, you will not need "ant" if you download the .class files. If you download the source (.java) files, you may need ant to compile them properly.

Charles Keller

Posts: 8
Nickname: cgkeller
Registered: Oct, 2003

Re: How to install com.bruceeckel.simpletest Posted: Oct 27, 2003 3:09 PM
Reply to this message Reply
To Dave Hinton:
Thank you for your explanation of what "import" stands for and what it does.

Now, I will have to find out how I can locate and download the package "com.bruceeckel.simpletest", so that I will be able to run and compile the exercise c.03-ifElse.java.
Charles.


> Do I need to install "ant" or can I import
> "com.bruceeckel.simpletest" without "ant"?
> What does "import" mean: is it actually downloading the
> file from the web to my hard-disk or only accessing the
> web in order to use "com.bruceeckel.simpletest".
> I tried to run C.03-ifElse.java and I get this error:
> ifElse.java:4: package com.bruceeckel.simpletest does not
> exist.
> You help will be much appreciated.
> Charles.

To Dave Hinton

Charles Keller

Posts: 8
Nickname: cgkeller
Registered: Oct, 2003

Re: How to install com.bruceeckel.simpletest Posted: Oct 27, 2003 4:22 PM
Reply to this message Reply
To Dave Hinton:
I searched the file "TIJ-3rd-Edition-code" and I found what I was looking for, namely the directory called
"com.bruceeckel.simpletest"
It was buried under a directory called
"TIJ-3rd-edition-code\com\bruceeckel"
and has the following sub-directories:
simple
simpletest
swing
tools
util

I downloaded all these directories unto my C:\java\code directory and now everything worked.I was finally able to compile and run program C02.

Thank you very much for your help, you brought me unto the right track with your explanation of "import".

Charles.

Flat View: This topic has 3 replies on 1 page
Topic: ServletConfig Previous Topic   Next Topic Topic: Academic Research for USA I.T. Professionals (No e-mail required)

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use