/home/larry/JAVA/jdk1.5.0_05/bin
is it then the right thing to type inside the .bashrc file the following?
PATH=$PATH:/home/larry/JAVA/jdk1.5.0_05/bin
On 11/22/05, Reed Curtis <[EMAIL PROTECTED]
> wrote:
There should be a file (hidden) in your home directory called .bashrc
that specifies terminal setup commands. This is where you can change
the PATH environment variable.
The way to do this: find a good blank line, type in PATH=$PATH:/<path to
jdk bin files>
My .bashrc file looks something like this:
PATH=$PATH:/usr/local/jdk1.5.0_05/bin
In fewer words than more words, this says take the existing search path
for executables ($PATH) and append(:) this directory in the file system.
Hope this helps.
You can also temporarily set a variable using the export from a
terminal:
export PATH=$PATH:/usr/local/...
editing .bashrc (there are a couple other files that will do the same
thing) saves you from doing this every time you want to run jdk
commands.
-------------------- BYU Unix Users Group http://uug.byu.edu/
The opinions expressed in this message are the responsibility of their author. They are not endorsed by BYU, the BYU CS Department or BYU-UUG. ___________________________________________________________________ List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/newbies
