Re: Setting the ClassPath for a java library file
Re: Setting the ClassPath for a java library file
- Subject: Re: Setting the ClassPath for a java library file
- From: Chris Gehlker <email@hidden>
- Date: Wed, 11 Jul 2001 10:51:05 -0700
On 7/11/01 8:09 AM, "Douglas Wagner" <email@hidden> wrote:
>
>
The ClassPath, I understand, allows the compiler to find files in my
>
home directory which I wish to include in a project. However, I have
>
no idea how to set it.
You can set it with -cp <path spec> argument to javac.
If you want to set it permanently, modify your tcsh.rc file and set it like
any environmental variable (assuming you are using tcsh as your shell.
For an extensive discussion see
http://java.sun.com/docs/books/tutorial/. Be
sure to follow the Unix, not the Mac, path for MOSX. The Apple docs seem to
assume that you have worked through this tutorial.
The MacDev center on oriellynet.com also has a discussion of classpath on
MOSX.
--
Every society honors its live conformists and its dead troublemakers.
-Mignon McLaughlin, author