Danny Ayers wrote:

> Ithe 1.1.6 JDK working ok, but would like to access some other class
>

There is a story about this and lots more useful information in the Java
Tutorial at:

http://java.sun.com/docs/books/tutorial/java/more/managingfiles.html

"Setting the Class Path

              If you must, you can change your class path. This can be
done in either
              of two ways:

                 1.Set the CLASSPATH environment variable (not
recommended).
                 2.Use the -classpath runtime option when you invoke the
compiler or
                    the interpreter.

              We don't recommend setting the CLASSPATH environment
variable because
              it can be long-lived (particularly if you set it in a login
or startup
              script). It's also easy to forget about, and then one day,
your
              programs won't work because the compiler or interpreter
loads a crusty
              old class file instead of the one you want. An old,
out-of-date
              CLASSPATH variable is a fruitful source of confusing
problems. "

jim watson

Reply via email to